![]() |
retinify 0.1.7
Real-Time AI Stereo Vision Library
|
A retinify::Pipeline provides an interface for running a stereo matching.
More...
#include <pipeline.hpp>
Public Member Functions | |
| Pipeline () noexcept | |
| ~Pipeline () noexcept | |
| Pipeline (const Pipeline &)=delete | |
| auto | operator= (const Pipeline &) noexcept -> Pipeline &=delete |
| Pipeline (Pipeline &&) noexcept=delete | |
| auto | operator= (Pipeline &&) noexcept -> Pipeline &=delete |
| auto | Initialize (std::uint32_t imageWidth, std::uint32_t imageHeight, PixelFormat pixelFormat=PixelFormat::RGB8, DepthMode depthMode=DepthMode::ACCURATE, const CalibrationParameters &calibrationParameters=CalibrationParameters{}) noexcept -> Status |
| Initializes the stereo matching pipeline with the given image dimensions. | |
| auto | Run (const std::uint8_t *leftImageData, std::size_t leftImageStride, const std::uint8_t *rightImageData, std::size_t rightImageStride, float *disparityData, std::size_t disparityStride) noexcept -> Status |
| Executes the stereo matching pipeline using the given left and right image data. | |
| auto | Execute (const std::uint8_t *leftImageData, std::size_t leftImageStride, const std::uint8_t *rightImageData, std::size_t rightImageStride) noexcept -> Status |
| Executes the stereo matching pipeline using the given left and right image data. | |
| auto | RetrieveRectifiedLeftImage (std::uint8_t *leftImageData, std::size_t leftImageStride) noexcept -> Status |
| Retrieves the rectified left image. | |
| auto | RetrieveRectifiedRightImage (std::uint8_t *rightImageData, std::size_t rightImageStride) noexcept -> Status |
| Retrieves the rectified right image. | |
| auto | RetrieveRectifiedImages (std::uint8_t *leftImageData, std::size_t leftImageStride, std::uint8_t *rightImageData, std::size_t rightImageStride) noexcept -> Status |
| Retrieves the rectified left and right images. | |
| auto | RetrieveDisparity (float *disparityData, std::size_t disparityStride) noexcept -> Status |
| Retrieves the computed disparity map. | |
| auto | RetrieveDepth (float *depthData, std::size_t depthStride) noexcept -> Status |
| Retrieves the computed depth map. | |
| auto | RetrievePointCloud (float *pointCloudData, std::size_t pointCloudStride) noexcept -> Status |
| Reprojects the computed disparity map to a 3D point cloud. | |
A retinify::Pipeline provides an interface for running a stereo matching.
|
noexcept |
|
noexcept |
|
delete |
|
deletenoexcept |
|
noexcept |
Executes the stereo matching pipeline using the given left and right image data.
| leftImageData | Pointer to the left image data |
| leftImageStride | Stride of a row in the left image (in bytes) |
| rightImageData | Pointer to the right image data |
| rightImageStride | Stride of a row in the right image (in bytes) |
|
noexcept |
Initializes the stereo matching pipeline with the given image dimensions.
| imageWidth | Width of the input images (in pixels) |
| imageHeight | Height of the input images (in pixels) |
| pixelFormat | The pixel format of the input images |
| depthMode | The depth mode option for the stereo matching |
| calibrationParameters | The stereo camera calibration parameters |
|
noexcept |
|
noexcept |
Retrieves the computed disparity map.
| disparityData | Pointer to the output buffer for disparity data (32-bit float) |
| disparityStride | Stride of a row in the output disparity data (in bytes) |
|
noexcept |
Reprojects the computed disparity map to a 3D point cloud.
| pointCloudData | Pointer to the output buffer for point cloud data (32-bit float, 3 channels) |
| pointCloudStride | Stride of a row in the output point cloud buffer (in bytes) |
|
noexcept |
Retrieves the rectified left and right images.
| leftImageData | Pointer to the output buffer for left image data (8-bit unsigned char) |
| leftImageStride | Stride of a row in the output left image data (in bytes) |
| rightImageData | Pointer to the output buffer for right image data (8-bit unsigned char) |
| rightImageStride | Stride of a row in the output right image data (in bytes) |
|
noexcept |
Retrieves the rectified left image.
| leftImageData | Pointer to the output buffer for left image data (8-bit unsigned char) |
| leftImageStride | Stride of a row in the output left image data (in bytes) |
|
noexcept |
Retrieves the rectified right image.
| rightImageData | Pointer to the output buffer for right image data (8-bit unsigned char) |
| rightImageStride | Stride of a row in the output right image data (in bytes) |
|
noexcept |
Executes the stereo matching pipeline using the given left and right image data.
| leftImageData | Pointer to the left image data |
| leftImageStride | Stride of a row in the left image (in bytes) |
| rightImageData | Pointer to the right image data |
| rightImageStride | Stride of a row in the right image (in bytes) |
| disparityData | Pointer to the output buffer for disparity data (32-bit float) |
| disparityStride | Stride of a row in the output disparity data (in bytes) |