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