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

  • Home
  • SEARCH
  • 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 163921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:39:09+00:00 2026-05-11T11:39:09+00:00

I am trying to approximate shape boundaries by using Fourier descriptors. I know this

  • 0

I am trying to approximate shape boundaries by using Fourier descriptors. I know this can be done because I’ve learned about it in class and read about it in several sources.

To obtain the Fourier descriptors of a boundary of (x,y) coordinates, I do the following: 1) Turn (x,y) coordinates into complex numbers of the form x + iy 2) Feed this new set of numbers into the 1D Fourier transform 3) The output are the Fourier descriptors

To approximate the boundary, I simply remove (set to zero) the high frequencies, then apply the inverse Fourier transform, then convert the complex numbers back to (x,y) coordinates, and then reconstruct the image from this new set of coordinates. The goal of my project is to find out how well I can approximate boundaries depending on how many of the terms I set to zero.

My problem is that whenever I set ANY of the frequencies to 0, my output image is very small and comes out as very weird patterns.

I’ve included an example below. The input image is a normal square. The first output image given is the reconstruction of the image using all the Fourier descriptors as normal. Note that the whole boundary is not there because the number of boundary pixels was sampled to 256 and I didn’t bother connecting the dots when I output. Also note that the output is translated to the bottom left corner, this was on purpose. The second output image is when I use only the first 128 frequencies.

Input Image http://img19.imageshack.us/my.php?image=square0.bmp

Output Image 1: All frequencies http://img27.imageshack.us/my.php?image=square0normal.bmp

Output Image 2: First half of frequencies http://img23.imageshack.us/my.php?image=square0out.bmp

Does anyone have any idea why this might be happening?

Edit: First time putting images on here, not sure why they aren’t showing up.. here are the links:
Input image
Output1
Output2

Also here is a link to a document that talks about this a bit, it starts at the end of page 5.

  • 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-11T11:39:09+00:00Added an answer on May 11, 2026 at 11:39 am

    The result you are getting is what would be expected if you threw out the low frequencies instead of the high ones. Are you sure about which frequencies are which?

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

Sidebar

Ask A Question

Stats

  • Questions 124k
  • Answers 124k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer My first guess is that the Javascript null value is… May 12, 2026 at 5:05 am
  • Editorial Team
    Editorial Team added an answer The windows performance tool, perfmon, is probably not going to… May 12, 2026 at 5:05 am
  • Editorial Team
    Editorial Team added an answer You need to clarify what you mean by "remote system"… May 12, 2026 at 5:05 am

Related Questions

I'm trying to build an InfoPath add-in to allow template editors (as opposed to
Thanks for reading. I'm a bit new to jQuery, and am trying to make
I tried to write a Utility Manager application, and I am trying to test
I'm trying to launch another process from a service (it's a console app that

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.