Clear Filters
Clear Filters

Applying window function radially about an image center

4 views (last 30 days)
I'm trying to use phase correlation to register total solar eclipse images to eachother, however to do this I need to apply a hanning window function along the radial direction of the image. The discontinuity in brightness values occurs one dimensionally along the radius where the edge of the moon meets the corona, so I'm just wondering how can I index an image about its center in the radial direction to apply the window function to the image in order to remove the discontinuity between the lunar edge and corona.
thanks!

Answers (1)

Image Analyst
Image Analyst on 9 Feb 2019
Scan the image in a raster manner. For each row, column, you can compute the radius from the center of the image using sqrt(). Using that radius, you can then do your Hamming.
I attach sort of related demos.
  2 Comments
Bray Falls
Bray Falls on 9 Feb 2019
Okay this is a huge help. So I now have the script finding the intensity for a given radius with a profile like this:beep boop.jpg
From this point do I estimate a window function and then convolve it with the input image with conv() or conv2()?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!