Image Analysis - second order moments - ellipticities

AI Thread Summary
The discussion centers on calculating ellipticities and orientation angles of images using their second order moments of inertia. The user seeks clarification on performing the summation involved in this calculation, specifically how to define the x and y values. It is noted that x and y represent the coordinates of each point within the image matrix, corresponding to the indices of the matrix elements (column and row). A crucial step is defining the region of interest within the image, which can be achieved by setting a condition, such as a grayscale intensity threshold, to isolate specific features like bright spots. The provided source offers some guidance, but the user remains uncertain about the practical application of the summation process.
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.
 
Technology 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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top