81 [[nodiscard]]
auto Execute(
const std::uint8_t *leftImageData, std::size_t leftImageStride,
const std::uint8_t *rightImageData, std::size_t rightImageStride)
noexcept ->
Status;
121 [[nodiscard]]
auto RetrieveRectifiedImages(std::uint8_t *leftImageData, std::size_t leftImageStride, std::uint8_t *rightImageData, std::size_t rightImageStride)
noexcept ->
Status;
161 auto impl() noexcept -> Impl *;
162 [[nodiscard]] auto impl() const noexcept -> const Impl *;
163 static constexpr std::
size_t BufferSize{2048};
164 alignas(
alignof(std::max_align_t)) std::array<unsigned char, BufferSize> buffer_{};
#define RETINIFY_API
Defines a macro for setting API visibility to "default" for the retinify library.
Definition attributes.hpp:8
Base class that disables copy and move operations for derived classes.
Definition nocopymove.hpp:11
A retinify::Pipeline provides an interface for running a stereo matching.
Definition pipeline.hpp:46
auto RetrieveDisparity(float *disparityData, std::size_t disparityStride) noexcept -> Status
Retrieves the computed disparity map.
auto RetrieveRectifiedRightImage(std::uint8_t *rightImageData, std::size_t rightImageStride) noexcept -> Status
Retrieves the rectified right image.
auto RetrieveDepth(float *depthData, std::size_t depthStride) noexcept -> Status
Retrieves the computed depth map.
auto RetrieveRectifiedLeftImage(std::uint8_t *leftImageData, std::size_t leftImageStride) noexcept -> Status
Retrieves the rectified left 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 RetrievePointCloud(float *pointCloudData, std::size_t pointCloudStride) noexcept -> Status
Reprojects the computed disparity map to a 3D point cloud.
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.
This class represents the status of an operation in the retinify library.
Definition status.hpp:51
Definition colormap.hpp:13
PixelFormat
The pixel format options for input images.
Definition pipeline.hpp:19
@ RGB8
8-bit 3ch, RGB format
@ GRAY8
8-bit 1ch, Grayscale format
DepthMode
The depth mode options for stereo matching pipeline.
Definition pipeline.hpp:31
@ BALANCED
Balanced, with moderate accuracy and speed.
@ ACCURATE
Most accurate, with slowest performance.
@ FAST
Fastest, with lowest accuracy.
Stereo camera calibration parameters.
Definition geometry.hpp:266