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!