Image motion frequency estimation from scanned image
6 views (last 30 days)
Show older comments
Hello all. I am trying to extract the frequency (or frequecies) of motion present in a scanned image. Consider: an object is excited with input motion at a set frequency. An image of this moving object is then taken by line scanning it (similar to how a photocopier would scan paper). The result is a "wavy" image of the object, with the frequency of the waves matching the frequency of the input motion. As an example, if the object were just a sheet of graphpaper being moved while it was scanned, the resulting image would be something like what is shown in the image below. If the speed of the scan is known, I am trying to determine the frequency of that wave. I appreciate any guidance!

3 Comments
Walter Roberson
on 15 Dec 2023
Potential answer: the excitation is 0, with the photograph just happening to look that way.
Accepted Answer
Image Analyst
on 16 Dec 2023
It looks like you can determine the waviness wavelength by examining the dark blobs at the last line of the image.
Otherwise, I'd just use imdistline to get the distance over, say, 20 ripples. Then divide the distance by 20.
There is no robust, automatic way unless you know something about the image. For example if the image was all uniform gray, the ripples would not even be visible or detectable.
3 Comments
Image Analyst
on 16 Dec 2023
If it were me, I'd design a GUI with a listbox, a button to select the folder, an axes to hold the clicked-on image, and two sliders. One to give the period in pixels in the x direction, and another to give the magnitude of the pixels in the y directions. Then each time you click on a slider, just move the columns up or down and redisplay the image. Then have a save button that will save the corrected image. That way you can try lots of combinations to "eyeball" the correction and see which parameters are best. Can you do that?
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!