I NEED TO SHOW THE COLUMN STACKED DATA OF MY LANDSET IMAGE
조회 수: 1 (최근 30일)
이전 댓글 표시
HELLO SIR/ MADAM,
i need to show column stacked data of my image shown in sa.png figure
for that i have used im2col function
i got image as in capture.pngfigure
i need to show in as in my paper. kindly help me to sort out this problem.
i need it urgently
댓글 수: 0
채택된 답변
Meg Noah
2020년 1월 11일
This unpacks the capture, but i'm not sure what you want next:
[img,cmap] = imread('Capture.png');
imshow(img)
imgData1 = squeeze(img(27:533,115,1));
imgData1Stack = reshape(imgData1,13,13,3);
imgData2 = squeeze(img(27:533,115,2));
imgData2Stack = reshape(imgData2,13,13,3);
imgData3 = squeeze(img(27:533,115,3));
imgData3Stack = reshape(imgData3,13,13,3);
figure();
subplot(2,2,1)
imshow(imgData1Stack);
subplot(2,2,2)
imshow(imgData2Stack);
subplot(2,2,3)
imshow(imgData3Stack);
Are you expecting a plot like your stacked plot, or did you just want these values?
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!