Solar
|
Estimates the optical flow between two images. UUID: 3c74cd7f-950c-43ee-8886-9f4ddf763c27
More...
Public Member Functions | |
IOpticalFlowEstimator ()=default | |
IOpticalFlow default constructor. | |
virtual | ~IOpticalFlowEstimator ()=default |
IContoursFilter default destructor. | |
virtual FrameworkReturnCode | estimate (const SRef< SolAR::datastructure::Image > previousImage, const SRef< SolAR::datastructure::Image > currentImage, const std::vector< SolAR::datastructure::Keypoint > &pointsToTrack, std::vector< SolAR::datastructure::Point2Df > &trackedPoints, std::vector< unsigned char > &status, std::vector< float > &error)=0 |
estimate the optical flow between two images More... | |
virtual FrameworkReturnCode | estimate (const SRef< SolAR::datastructure::Image > previousImage, const SRef< SolAR::datastructure::Image > currentImage, const std::vector< SolAR::datastructure::Point2Df > &pointsToTrack, std::vector< SolAR::datastructure::Point2Df > &trackedPoints, std::vector< unsigned char > &status, std::vector< float > &error)=0 |
estimate the optical flow between two images More... | |
Estimates the optical flow between two images. UUID: 3c74cd7f-950c-43ee-8886-9f4ddf763c27
This interface is defined to implement components to estimate the optical flow between two images.
|
pure virtual |
estimate the optical flow between two images
[in] | previousImage | The previous image |
[in] | currentImage | The current image for which we want to estimate the optical flow relative to the previous image |
[in] | pointsToTrack | KEYPOINTS The pixels to track in the previous image |
[out] | trackedPoints | The position of the pointsToTrack in the current image |
[out] | status | Specify for each point; each element of the vector is set to 1 if the flow for the corresponding features has been found, otherwise, it is set to 0. |
[out] | error | Specify for each point the tracking error |
|
pure virtual |
estimate the optical flow between two images
[in] | previousImage | The previous image |
[in] | currentImage | The current image for which we want to estimate the optical flow relative to the previous image |
[in] | pointsToTrack | POINT2DF The pixels to track in the previous image |
[out] | trackedPoints | The position of the pointsToTrack in the current image |
[out] | status | Specify for each point; each element of the vector is set to 1 if the flow for the corresponding features has been found, otherwise, it is set to 0. |
[out] | error | Specify for each point the tracking error |