marking line point on image and intensity profile

1 次查看(过去 30 天)
Hi I have an intensity profile, I wish to mark the point on it and translate the mark point to my original image.
  2 个评论
Josh
Josh 2013-6-28
Hi Ashvin, thanks for your reply. But I am trying to trace the intensity profile of an image to locate the region of my interest(which is the vertebrae). How do I write a function to locate the zero clusters of the profile to mark the point.

请先登录,再进行评论。

采纳的回答

Nitin
Nitin 2013-6-24
编辑:Nitin 2013-6-24
Assuming you are looking for pixels with intensity, 128;
I = imread(img);
ind = find(I==128);
I(ind)=255;

更多回答(1 个)

Josh
Josh 2013-6-28
Hi Ashvin, thanks for your reply. But I am trying to trace the intensity profile of an image to locate the region of my interest(which is the vertebrae). How do I write a function to locate the zero clusters of the profile to mark the point.

Community Treasure Hunt

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

Start Hunting!

Translated by