Obtain pixel values from a contour point towards center of image

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일

0 개 추천

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.

카테고리

도움말 센터 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

2011년 7월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by