I don't know what is wrong with my code for calculating the legendre moments of an image? The method that I have used is given in the pdf attached.

1 view (last 30 days)
I have used the method as described in the attached pdf file named fastlegendre. I have followed the given algorithm. But the results that I am getting are not the correct ones. If you can find any mistake please mention that.

Answers (1)

Image Analyst
Image Analyst on 24 May 2015
It looks like they're using MATLAB demo images. Have you considered asking the authors if you can get their code?

Categories

Find more on Polynomials in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!