Image Analysis - second order moments - ellipticities

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
Miss_Astro
Messages
15
Reaction score
0
There seems to be a good source here:

http://www.cs.cf.ac.uk/Dave/AI2/node194.html


But my problem is understanding the summation. What I am trying to do is calculate ellipticites and orientation angles of images using their second order moments of inertia.


My images are in matrix form with values depicting the greyscale of the image. Do you know what I would actually do? The above source is helpful but I am stuck on the actual summation and what would be use as x and y values.
 
Physics news on Phys.org
x and y are the coordinates of each point within the region, so in your case it would be the index of the matrix elements (column, row).

But first you have to define the region that is part of the object. You have to set some kind of condition that defines the region. For example, it could be a grayscale intensity threshold if you are looking for bright spots.