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

2 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Image Analyst
Image Analyst il 28 Ago 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.

Più risposte (1)

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

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by