what has changed in cvMoments() between 1.0 and 1.1pre1a?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

what has changed in cvMoments() between 1.0 and 1.1pre1a?

jeremy_atl
i recently downloaded and built the source for opencv1.1pre1a and am
having difficulty with cvMoments().  i have some existing code that
uses image moments to compute principal axis, skew, etc, but the
values don't match between the two versions of the lib/dlls.

in particular, the moments (central) m11, m21, and (spatial) mu11,
mu21, mu12 are consistently -1.#IND . has anyone else experienced this?

i've run the cxcoretest and cvtest harnesses, and everything posted
just fine, so these discrepencies are not being detected by the
testing programs, it seems.

my configuration:
custom built opencv1.1 with direct show support
windows xp
icc 9.0
visual studio .net 2003

thanks!
jeremy barrett