marking line point on image and intensity profile

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

You forgot to ask a question.
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)

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.

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Asked:

on 23 Jun 2013

Community Treasure Hunt

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

Start Hunting!