Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV function to Obtain 3rd/4th order moments

Is there an OpenCV function to retrieve the 3rd and 4th order moments? Or do I need to calculate these myself?

Ie, I am trying to obtain the skewness and kurtosis of a blob/contour.

If I were to calculate the 3rd and 4th order moment myself, (in OpenCV) can I just determine this by using mathematics and a cv::Moments I have calculated? Or must I also generate a histogram?