Skip to content
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

[Wrong formulae] Patch for /trunk/fr_proj/src/java/edu/frp/util/Util.java #1

Open
GoogleCodeExporter opened this issue May 4, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

According to the formulae in Wikipedia 
(http://en.wikipedia.org/wiki/Image_moments#Rotation_invariant_moments), 
there's some typos in case 2, 4 and 7 in getHuMoment() method.

Case 2: missing 'n' in 'n02', yours is number 02.
Case 4: the first variable of the second operand is n21, NOT n12
Case 7: the operator between two big operands is minus (-), NOT plus (+)

Best Regards,
Lam

Original issue reported on code.google.com by [email protected] on 3 Jun 2012 at 8:26

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant