Find the value of pixel around a circle

asked 2015-06-29 08:02:38 -0500

jeje20 gravatar image

updated 2015-06-29 09:32:25 -0500

Hello,

I want to draw a circle that allows me to collect informations about my image. I have done a DFT, and I want to get the information of low and high frequencies with a circle. The question is " how can I use the circle as a system of mesure ?" If someone could explain it to me, it will be great.

Jeje20

edit retag flag offensive close merge delete

Comments

I think you shall start reading this; then ask what you do not understand... ;)

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-06-29 09:36:50 -0500 )edit

For Line there is lineIterator I don't find for circle.

But I think you can use distancetransform with L2_dist. You can apply distanceTransform to an image included a white disk center at frequency 0 with same size than your spectrum. Result will be an image with value decreasing from center to boundary. Then you can use this value to explore your spectrum like using a mask.

May be an another way is possible

LBerger gravatar imageLBerger ( 2015-06-29 09:45:47 -0500 )edit