Function swri_image_util::ProjectEllipsoid

Function Documentation

cv::Mat swri_image_util::ProjectEllipsoid(const cv::Mat &ellipsiod)

Projects a 3D ellipsoid to an ellipse on the XY-plane.

Parameters:

ellipsoid[in] The ellipsoid represented as a 3x3 float matrix.

Returns:

The ellipse as a 2x2 float matrix if successful. An empty matrix otherwise.