Solar
|
Warps and crops an image given a contour defined with four 2D points. UUID: 4a7d5c34-cd6e-11e7-abc4-cec278b6b50a
More...
#include <IPerspectiveController.h>
Public Member Functions | |
IPerspectiveController ()=default | |
IPerspectiveController default constructor. | |
virtual | ~IPerspectiveController ()=default |
IPerspectiveController default destructor. | |
virtual FrameworkReturnCode | correct (const SRef< SolAR::datastructure::Image > inputImg, const std::vector< SolAR::datastructure::Contour2Df > &contours, std::vector< SRef< SolAR::datastructure::Image > > &patches)=0 |
Warps and crops an image given a set of contour defined with four 2D points. More... | |
virtual FrameworkReturnCode | correct (const SRef< SolAR::datastructure::Image > inputImg, const SolAR::datastructure::Contour2Df &contour, SRef< SolAR::datastructure::Image > &patch)=0 |
Warps and crops an image given a contour defined with four 2D points. More... | |
Warps and crops an image given a contour defined with four 2D points. UUID: 4a7d5c34-cd6e-11e7-abc4-cec278b6b50a
|
pure virtual |
Warps and crops an image given a contour defined with four 2D points.
[in] | inputImg | the original image on which we want to extract sub-image aligned on the 2D contour |
[in] | contour | the contour defined with four 2D points |
[out] | patch | the sub-image or patche resulting from the warping and cropping of the original image according to the 2D contour |
|
pure virtual |
Warps and crops an image given a set of contour defined with four 2D points.
[in] | inputImg | the original image on which we want to extract sub-images aligned on the set of 2D contours |
[in] | contours | the set of contours each defined with four 2D points |
[out] | patches | the set of sub-images or patches resulting from the warping and cropping of the original image according to the set of 2D contours |