How to plot like this?

9 ビュー (過去 30 日間)
dsp
dsp 2016 年 2 月 4 日
編集済み: dsp 2016 年 5 月 9 日
I have 32 image matrices of size 128 x 128. I want to sum all the image matrices and display the final image and also when I click a pixel in the final image, it needs to show the pixel intensities (in a plot) of all the images summed at that coordinate.

採用された回答

Joseph Cheng
Joseph Cheng 2016 年 2 月 4 日
well the first part is easy since sum(your128x128x32matrix,3) will sum your images together. next you can use what was suggested at the end of this question http://www.mathworks.com/matlabcentral/newsreader/view_thread/322422. that should work for you. if you have the imagetoolbox then you can probably just use http://www.mathworks.com/help/images/ref/impixelinfo.html

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by