marking line point on image and intensity profile

2 views (last 30 days)
Hi I have an intensity profile, I wish to mark the point on it and translate the mark point to my original image.
  2 Comments
Josh
Josh on 28 Jun 2013
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.

Sign in to comment.

Accepted Answer

Nitin
Nitin on 24 Jun 2013
Edited: Nitin on 24 Jun 2013
Assuming you are looking for pixels with intensity, 128;
I = imread(img);
ind = find(I==128);
I(ind)=255;

More Answers (1)

Josh
Josh on 28 Jun 2013
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!