this post was submitted on 28 Jul 2024
220 points (97.4% liked)
Photography
4524 readers
84 users here now
A community to post about photography:
We allow a wide range of topics here including; your own images, technical questions, gear talk, photography blogs etc. Please be respectful and don't spam.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Little nitpick. Nyquist frequency is at least 2x the maximum frequency of the signal of interest.
The signal of interest could be something like ~20kHz (human hearing or thereabouts) or it could be something like a 650 kHz AM radio signal.
Nyquist will ensure that you preserve artifacts that indicate primary frequency(ies) of interest, but you'll lose nuance for signal analysis.
When we're analyzing a signal more deeply we tend to use something like 40x expected max signal frequency, it'll give you a much better look at the signal of interest.
Either way, neat project.
Double nitpick, according to Wikipedia, your definition is a "minority usage". I teach signal Processing and hadn't heard of that one, so thanks for pointing me to it!
Nyquist as half sampling rate is what I use
https://en.m.wikipedia.org/wiki/Nyquist_frequency#Other_meanings
Neat! I've definitely originated misunderstandings based on that. I wonder if it comes from my signals class lol
Little nitpick to you:
This is because your signal of interest, unless purely sinusoidal, has higher frequency features such as harmonics, so if you sample at Nyquist you'd lose all of that. Nyquist theorem still stands, it's just you wanna look at higher frequency than you realize because you wanna see higher frequency components of your signal.
I'll add that frequencies above the Nyquist point fold into lower frequencies. So you need to filter out the higher frequencies with a low pass filter.
This isn't just for audio but any type of sampling frequencies. For example in video when you see wagon wheels going backwards, helicopter blades moving slowly, or old CRT displays where there is a big bright horizontal line sweeping. That's all frequency folding around half the frame rate.
It also applies to grids in images. The pixels in a display act a sample points and you get frequency folding leading to jagged lines. Because a line segment is a half cycle of a square wave with a period of twice the length.
When that segment is diagonal it become a two dimensional signal with even higher frequency components in each axes. This leads to jagged diagonal lines. This is called aliasing as the higher frequencies have an alies as lower frequencies.
So when you apply antialiasing in video games it's doing math to smear the signal along the two axis of the display. This makes a cleaner looking line.
I love the small insights into signal theory/processing generated by this image, this is really cool stuff! Thank you for chiming in.
Thanks! Your nitpicking is most welcome.