Moments of inertia in image processing

AI Thread Summary
The discussion centers on calculating the moment of inertia for gray scale pixels to differentiate fibers from noise in image processing. The user seeks guidance on incorporating pixel intensity into the moment of inertia calculation, moving beyond the uniform approach. Suggestions include using existing software like MATLAB and ImageJ, which have routines for this type of analysis. The eigenvalues of the inertial matrix are identified as representing the principal axes of the identified shapes. The user is encouraged to explore the 'regionprops' tool in MATLAB's Image Processing toolbox for potential solutions.
psycovic23
Messages
47
Reaction score
0
Hi,

I'm currently working on an imaging problem that oddly requires some physics. Basically, I'm given a set of gray scale pixels and I have to determine whether they're a fiber or just random noise. My question is, how do I calculate the moment of inertia of the pixels while considering their gray scale value? I know how to calculate a uniform moment of inertia (\sum r^{2}), but not when I have to consider discrete, non uniform weights to each pixel.

A continuation of that part is, how might I quantize the "blob-iness" of the pixels? A professor suggested finding the eigenvalues of the inertial matrix [m_x m_xy; m_xy m_y], but I'm not entirely sure what the eigenvalues end up representing. Any ideas?

Thanks!
 
Physics news on Phys.org
I found this to be a very confusing question with regards to the moment of inertia and imaging until I pondered "grey scale"

Are you referring to an electron microscope?
 
What you are trying to do is a fairly standard analysis, and many programs out there (MatLab, ImageJ, etc) have routines for this already. Essentially, you are weighting the calculation by intensity rather than mass, but the idea is the same, and the eigenvalues are the "principal axes", if you like, of the blob.

http://en.wikipedia.org/wiki/Image_moments
 
Andy Resnick said:
What you are trying to do is a fairly standard analysis, and many programs out there (MatLab, ImageJ, etc) have routines for this already. Essentially, you are weighting the calculation by intensity rather than mass, but the idea is the same, and the eigenvalues are the "principal axes", if you like, of the blob.

http://en.wikipedia.org/wiki/Image_moments

I'm using Matlab, but have been unable to find any functions to do it. Are there functions in the Image Processing kit that I'm missing?
 
I'm surprised there's not an obvious choice... the 'regionprops' tool has a few things that may work for you.
 
Hi there, im studying nanoscience at the university in Basel. Today I looked at the topic of intertial and non-inertial reference frames and the existence of fictitious forces. I understand that you call forces real in physics if they appear in interplay. Meaning that a force is real when there is the "actio" partner to the "reactio" partner. If this condition is not satisfied the force is not real. I also understand that if you specifically look at non-inertial reference frames you can...
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top