This class provides an interface for running a stereo matching pipeline.
More...
#include <pipeline.hpp>
|
| 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::size_t imageHeight, std::size_t imageWidth) 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.
|
|
This class provides an interface for running a stereo matching pipeline.
◆ Pipeline() [1/3]
retinify::Pipeline::Pipeline |
( |
| ) |
|
|
noexcept |
◆ ~Pipeline()
retinify::Pipeline::~Pipeline |
( |
| ) |
|
|
noexcept |
◆ Pipeline() [2/3]
retinify::Pipeline::Pipeline |
( |
const Pipeline & |
| ) |
|
|
delete |
◆ Pipeline() [3/3]
retinify::Pipeline::Pipeline |
( |
Pipeline && |
| ) |
|
|
deletenoexcept |
◆ Initialize()
auto retinify::Pipeline::Initialize |
( |
std::size_t |
imageHeight, |
|
|
std::size_t |
imageWidth |
|
) |
| -> Status |
|
noexcept |
Initializes the stereo matching pipeline with the given image dimensions.
- Parameters
-
imageHeight | Height of the input images (in pixels). |
imageWidth | Width of the input images (in pixels). |
- Returns
- A Status object indicating whether the initialization was successful.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Run()
auto retinify::Pipeline::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 |
|
) |
| -> Status |
|
noexcept |
Executes the stereo matching pipeline using the given left and right image data.
- Parameters
-
leftImageData | Pointer to the left image data (8-bit grayscale). |
leftImageStride | Stride (in bytes) of a row in the left image. |
rightImageData | Pointer to the right image data (8-bit grayscale). |
rightImageStride | Stride (in bytes) of a row in the right image. |
disparityData | Pointer to the output buffer for disparity data (32-bit float). |
disparityStride | Stride (in bytes) of a row in the output disparity data. |
- Returns
- A Status object indicating whether the operation was successful.
The documentation for this class was generated from the following file:
- /home/runner/work/retinify/retinify/core/include/retinify/pipeline.hpp