What does “frequency” mean in an image?
photo.stackexchange.com
photo.stackexchange.com
There’s a neat Dali painting which sort of abuses these properties to combine two portraits: http://archive.thedali.org/mwebcgi/mweb.exe?request=record;i...
I just don't get modern art- anything after the impressionists. I normally make an exception for the surrealists, like Dali, but this one is not in the "exception" group, I think.
You can also save that picture on your device and look at the generated thumbnail. Resizing it makes it a lot more obvious.
I guess that's what the pixelated portrait of Lincoln on the same page is then.
Spatial frequency is often reported in cycles/degree. A cycle is one complete set of transitions (light->dark->light) and a degree is the angular distance (1/360th of a circle; about the size of your thumbnail at arm's length). These units are handy since they don't depend on the thing you're looking at or how far away it is.
Human spatial frequency sensitivity peaks between 1-10 cycles/degree, depending on how old you are, to see Ol' Abe, you ought to be far enough away that your thumbnail covers at least five of the tiles.
Think how frustrating it must be to hear other people say how cool something is, while not being able to see it yourself!
https://static.independent.co.uk/s3fs-public/thumbnails/imag...
The reason why moiré patterns are generally colourful is because each pixel is not sampled at a point, but with the colors distributed over some area. Hence each color component of a pixel sees a slightly phase shifted component of the signal, i.e. it gets rainbowy. You would expect the moiré exhibited by a planar sensor like the Foveon X3 to show this effect to a lesser degree.
Most people with a mathematics, or music background of any level understand frequency in terms "hertz". Aka speed of vibration. Translating it to speed of change of pixel value per pixels is difficult without the 1d case.
Could you share a direct link? I don't see any such comment here.
Sometimes when someone asks a question about something simple you have to just spell it out as simple as possible.
(Another thing that works for me given a 2d image like Ouss' example is "think of looking at a sine wave from above" much as this makes no real sense).
What was interesting to me, was the irritating effect the high frequency image has to my eyes. It's like I need to move my eyes very fast when I look at that picture.
In the 1D case, consider a dashed line. With perfect focus this is equivalent to a square wave (which is a sum of all the odd harmonics of the fundamental frequency). Loosely, the blurrier the image of the dashes the lower the frequency content - eventually blurring to 50% grey which is essentially DC.
In this case image frequency can be useful in many things from image/video compression to hashing images (to efficiently compare if images are similar, even in the presence of cropping etc). So I'm curious as to what in particular motivated posting this now?
I think it's interesting to the modal HN viewer because although FFTs are pretty neat intrinsically, but most people are exposed to FFTs through sound processing (if they are exposed to Fourier Transforms at all, I don't think they were a required part of the CS curriculum at my university, they were only required for the EE courses), so the application of FFTs to images seems like total magic.
The explanation that jpegs use FFTs is ho-hum if you spend a bunch of time doing signal processing at your day job, but there are many intellectually curious developers who spend their day job gluing together CRUD apps.
A lot of the time it's because the link was relevant to a discussion in another thread, and someone pulled it out of that discussion to submit at the top level.
"It's all vibrations, man". AMIRITE?
And from the other angle, if you stop thinking about frequency as "cycles per unit" and more in terms of just cycles or repetitions, then it's more intuitive when you talk about spatial frequency.
[1] or to get really into it, it's one part alongside magnitude/phase components of linear/nonlinear combinations of time varying exponentials which abstract any pattern/signal/system.