cvCentralmoments error

51 views
Skip to first unread message

smitha_bv

unread,
May 26, 2011, 5:01:54 AM5/26/11
to cvBlob
Hi,

I am trying to calculate the angle made by the blob by using cv
Angle,but to use cvAngle we need to enable cvCentralmoments,when I
enable cvCentralMoments in cvblob.cpp(void cvCentralMoments(CvBlob
*blob, const IplImage *img) it is flashes a error saying that error
C2039: 'centralMoments' : is not a member of 'cvb::CvBlob'.How to
resolve this,I need to use cvAngle function.Pl help



Thanks

Smitha

Cristóbal

unread,
May 26, 2011, 5:33:29 AM5/26/11
to cvBlob
Hi Smitha,

Sorry, it's my fault! cvCentralMoments is not needed anymore but I
didn't update the Doxygen documentation properly :-S I'll fix the
documentation as soon as possible.

Now, central moments are calculated inside cvLabel function, so you
should call cvAngle directly without any other problem.

Thank you for pointing out the problem!

Cristóbal
Reply all
Reply to author
Forward
0 new messages