how to scatter plot a mutispectral image
조회 수: 3 (최근 30일)
이전 댓글 표시
Dear Everyone
Does anyone has experience how to scatter plot a multispectral image. Let say any multspectral image with matrix composition is 480x752x151 (row x column x band). I want to pick some pixel sample, then do scatter plot these pixel sample to analyze the intensity values. I am very appreciated for any support and help.
Lina
댓글 수: 0
답변 (1개)
Image Analyst
2017년 4월 16일
편집: Image Analyst
2017년 4월 16일
I don't even know what that means. Basically to get a spectrum from some row and column, you can do
thisSpectrum = multspectralImage(row, column, :);
plot(thisSpectrum, 'b-', 'LineWidth', 2);
grid on;
If you want, you can plot the spectra for every single pixel in the image. You can even get the average spectra if you want, though I imagine you'd do that for some sub-regions of the image that look different rather than for the whole image.
If you're thinking of something like what colorcloud() does to plot the RGB color gamut, then no, you can't do that. You can't have a scatterplot with 151 different axes, only 2 or 3. I suggest you do cluster analysis instead to find the "clumps".
댓글 수: 2
Image Analyst
2017년 4월 17일
You can cluster them but people can't see in 151 dimensions so you're not going to get a scatter plot unless you pick 3 at a time. for that I suggest you read this paper: http://my.ece.msstate.edu/faculty/du/JSTARS-VIS.pdf
But whether you want to cluster them depends on why or what you hope to learn. Perhaps you want to determine base compounds (chemicals) comprising a region or something so maybe you want to multivariate curve resolution or PCA or something.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!