Find the value of pixel around a circle

asked Jun 29 '15

jeje20 gravatar image

updated Jun 29 '15

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

Preview: (hide)

Comments

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

thdrksdfthmn gravatar imagethdrksdfthmn (Jun 29 '15)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 (Jun 29 '15)edit