How can I analyze the brightness of pixels along a (free hand) line?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I would like to analyze the time-lapse images in order to tract the brightness of pixels along a line.
I took time-lapse images like this. http://origin-ars.els-cdn.com/content/image/1-s2.0-S1087184512000990-gr7.jpg
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.
댓글 수: 0
채택된 답변
Image Analyst
2013년 8월 28일
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.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!