create parallel lines in the same pic and find the average of all the ffts in it
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
george korris
am 4 Apr. 2021
Kommentiert: Matt J
am 7 Apr. 2021
Hello everyone i have a code which draws a line in a pic and takes the fft of the profile of the line,does anyone know how can i take multiple parallel lines to the original line and find the ffts of all the profiles of the pixels and find the averge fft?
0 Kommentare
Akzeptierte Antwort
Matt J
am 5 Apr. 2021
Bearbeitet: Matt J
am 5 Apr. 2021
Could you imrotate() the image so that it's rows are parallel to your line? Then, the operation would reduce to
fft( mean( imrotate(yourImage,angle) ,1) )
8 Kommentare
Matt J
am 7 Apr. 2021
It is taking the FFT of the average row. The averaging does not distinguish between foreground and background.
Siehe auch
Kategorien
Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!