How can I analyze the brightness of pixels along a (free hand) line?

2 Ansichten (letzte 30 Tage)
Hi,
I would like to analyze the time-lapse images in order to tract the brightness of pixels along a line.
Finally, I would like to get a 2D image which represents the brightness of pixels along line (dendrite or axon) by the psudo-color and has two axes which are time and one dimension space like this bottom-right figure. http://origin-ars.els-cdn.com/content/image/1-s2.0-S0143416005000242-gr1.jpg
I am wondering how I can do this by matlab. I would appreciate it if you tell me the way.
Thank you.

Akzeptierte Antwort

Image Analyst
Image Analyst am 28 Aug. 2013
Yes, use imfreehand() to have the user draw along whatever part of the image they want. Then use those x,y coordinates to index into the image array to get the colors or intensities.

Weitere Antworten (1)

Kotaro
Kotaro am 29 Aug. 2013
Thanks a lot!
Your instruct is clear and precise. Thank you for helping me.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by