Fast Fourier Transform (FFT) power spectrum angle

physical101
Messages
41
Reaction score
0
Dear Physics Buddies,

How are well all, okay I hope. I was wondering if I might browse all your infinite intellects and ask you a very simple question.

I am working with some medical images in MATLAB and my collaborators would like to know the orientation of the fibres that it contains.

So far I have:

Tiled the images (with an increasing tile size of the power of 2)
Calculated the regions ft

Then I was going to use PCA to find the largest eigen vector and declare that as the most dominant orientation for this region. However, I am a little stuck.

Someone suggested using the interia matrix of the ft power spectrum. This involves computing:

∑(ki,kj)(ki-kic)(ki-kic),∑(ki,kic)(ki-kic),(kj-kjc)
∑(ki,kj)(ki-kic)(kj-kjc),∑(ki,kj)(kj-kjc)(kj-kjc)

I am using brocploc in MATLAB and so I was wondering if any of you guys new of quick ways to compute this for image?

Hoping you can help

Physical101
 
Mathematics news on Phys.org
I guess the method used would be highly dependent on the patterns in the image and the colour / grey scale format. Are you trying to measure the principal axis in each subsections of the image or over the whole of the image? The fibres must be significantly more than 2 pixels wide to process the image.

I would consider a quick and dirty arithmetic technique such as sampling the circumference of a circle described on each subsection. By accumulating the absolute differences of sequential pixel values around the circle and saving all the values you will have a ramp with variable slope. Now subtract a linear fit to put the final value at zero. The resulting plot will have two peaks and two troughs. The positive slope will be where the circle is crossing the fibres, the negative slope will be where the fibres are tangent. Fit a 2nd harmonic to the plot, the phase reveals the principle direction of fibres.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top