Function lib3d::findMaxDispPixel
Defined in File geometry.hpp
Function Documentation
-
inline std::tuple<cv::Vec2i, float> lib3d::findMaxDispPixel(const std::vector<cv::Vec2i> &iPixels, const cv::Matx33d &iHomography)
Find the pixel from the given list that will undergo the most displacement when warped with the given homography.
- Parameters:
iPixels – [in] List of pixels which are to be tested.
iHomography – [in] \(3\times 3\) homography matrix with which is to be tested.
- Returns:
Tuple consisting of a two-dimensional vector holding the pixel coordinates and the amount of displacement which was found.