I NEED TO SHOW THE COLUMN STACKED DATA OF MY LANDSET IMAGE
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Meg Noah
on 11 Jan 2020
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 Comments
More Answers (1)
See Also
Categories
Find more on Subplots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!