Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 141975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:51:46+00:00 2026-05-11T07:51:46+00:00

I’ve been reading up a bit on anti-aliasing and it seems to make sense,

  • 0

I’ve been reading up a bit on anti-aliasing and it seems to make sense, but there is one thing I’m not too sure of. How exactly do you find the maximum frequency of a signal (in the context of graphics).

I realize there’s more than one case so I assume there is more than one answer. But first let me state a simple algorithm that I think would represent maximum frequency so someone can tell me if I’m conceptualizing it the wrong way.

Let’s say it’s for a 1 dimensional,finite, and greyscale image (in pixels). Am I correct in assuming you could simply scan the entire pixel line (in the spatial domain) looking for a for the minimum oscillation and the inverse of that smallest oscillation would be the maximum frequency?

Ex values {23,26,28,22,48,49,51,49}

Frequency:Pertaining to Set {}

(1/2) = .5 : {28,22}

(1/4) = .25 : {22,48,49,51}

So would .5 be the maximum frequency?

And what would be the ideal way to calculate this for a similar pixel line as the one above?

And on a more theoretical note, what if your sampling input was infinite (more like the real world)? Would a valid process be sort of 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 these algorithms are fraught with inefficiencies, so what are some of the preferred ways? (Not looking for something crazy-optimized, just fundamentally better concepts)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T07:51:47+00:00Added an answer on May 11, 2026 at 7:51 am

    The proper way to approach this is using a Fourier Transform (in practice, an FFT,or fast fourier transform)

    The theory works as follows: if you have an set of pixels with color/grayscale, then we can say that the image is represented by pixels in the ‘spatial domain’; that is, each individual number specifies the image at a particular spatial location.

    However, what we really want is a representation of the image in the ‘frequency domain’. Instead of each individual number specifying each pixel, each number represents the amplitude of a particular frequency in the image as a whole.

    The tool which converts from the ‘spatial domain’ to the ‘frequency domain’ is the Fourier Transform. The output of the FT will be a sequence of numbers specifying the relative contribution of different frequencies.

    In order to find the maximum frequency, you perform the FT, and look at the amplitudes that you get for the high frequencies – then it is just a matter of searching from the highest frequency down until you hit your ‘minimum significant amplitude’ threshold.

    You can code your own FFT, but it is much easier in practice to use a pre-packaged library such as FFTW

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am reading a book about Javascript and jQuery and using one of the
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a French site that I want to parse, but am running into
This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
I have been unable to fix a problem with Java Unicode and encoding. The
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.