Applying window function radially about an image center

2 次查看(过去 30 天)
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!

回答(1 个)

Image Analyst
Image Analyst 2019-2-9
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 个评论
Bray Falls
Bray Falls 2019-2-9
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()?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by