-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
different shape has the same Zernike moments value #109
Comments
Thanks for the report. Could you post some code and the images where you see this issue? |
I mean the original images so I can run the example locally without the red and green contours. |
!pip install mahotas thresh = None cnt = sorted(contours, key = cv2.contourArea, reverse = True)[0] z_im = mahotas.features.zernike_moments(thresh, radius, cm=center) and original pic is as following: |
@luispedro did you got the same result for those two images? Thanks a lot! |
as picture shows the i have two different shapes (one is part of the other), but it's strange that i got the same Zernike moments for them when i only use same parameter of center of mass and radius (see the green circle) . I don't know the Zernike foundamentals, so is this reasonable or an issue?
please ignore the green circle and red contour, that's drawed only try to make this question clear. the two original images only have the white object.
The text was updated successfully, but these errors were encountered: