How to get a single line on an image?

3 views (last 30 days)
Iain
Iain on 25 Feb 2016
Answered: Iain on 25 Feb 2016
I'm trying to make a little bit of image analysis software. I need to plot the intensity of pixels lying along a user selected line. This would be a lot easier if I could have a function which returns the coordinates of the line, but would allow me to see what line is being selected as I'm clicking, and which would not allow me to define a long curve.

Accepted Answer

Iain
Iain on 25 Feb 2016
Oh, I just found the perfect answer. imline.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!