MATLAB: I NEED TO SHOW THE COLUMN STACKED DATA OF MY LANDSET IMAGE

its urgently need for me. kindly help me with codes

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

Best Answer

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);
CaptureUnpacked.png
Are you expecting a plot like your stacked plot, or did you just want these values?