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

2 vues (au cours des 30 derniers jours)
Kotaro
Kotaro le 28 Août 2013
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.

Réponse acceptée

Image Analyst
Image Analyst le 28 Août 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.

Plus de réponses (1)

Kotaro
Kotaro le 29 Août 2013
Thanks a lot!
Your instruct is clear and precise. Thank you for helping me.

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by