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

2 views (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 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.

More Answers (1)

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

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!