Obtain pixel values from a contour point towards center of image

1 次查看(过去 30 天)
Please help me!
I have one contour image, i need to browse pixels since this contour to the center of the image in a straight line. The number of pixels must be variable.
For example, if i had a circle, would need to browse inside the circle from the contour to 15 pixels (remember only is an example). This browse must be in a straight line to the center. Can see a example in the next link. http://www.freeimagehosting.net/image.php?0b2d592011.jpg
Thank you very much!!
I wait your answers!!!
Antha

回答(1 个)

Ashish Uthama
Ashish Uthama 2011-7-19
If you have the contour points, you ought to be able to average them to obtain the center pixel location. You could then use improfile.

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by