I read a little about smoothing and it seems to make sense, but there is one thing that I'm not too sure about. How exactly do you find the maximum signal frequency (in the context of graphics).
I understand there is more than one case, so I assume that there is more than one answer. But first let me set out a simple algorithm that I think will represent the maximum frequency, so someone can tell me if I conceptualize it incorrectly.
Say this is for a one-dimensional, final and gray image (in pixels). Am I right in assuming that you could just scan the entire line of the pixel (in the spatial domain), looking for a minimum oscillation, and the inversion of this least oscillation would be the maximum frequency?
Ex values {23,26,28,22,48,49,51,49}
Frequency: to set {}
(1/2) = .5: {28.22}
(1/4) = .25: {22,48,49,51}
So will .5 be the maximum frequency?
And what would be the ideal way to calculate this for a similar pixel line, as above?
And on a more theoretical note, what if your sample input was infinite (more like the real world)? There would be a correct process like:
Predetermine a decent interval for point sampling Determine max frequency from point sampling while(2*maxFrequency > pointSamplingInterval) { pointSamplingInterval*=2 Redetermine maxFrequency from point sampling (with new interval) }
I know that these algorithms are fraught with inefficiency, so what are some of the preferred methods? (Not looking for something crazy, optimized, just fundamentally better concepts)