How to get a single line on an image?

조회 수: 11(최근 30일)
Iain
Iain 2016년 2월 25일
답변: Iain 2016년 2월 25일
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.

채택된 답변

Iain
Iain 2016년 2월 25일
Oh, I just found the perfect answer. imline.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by