MATLAB Answers

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

1 view (last 30 days)
SARAH LONER
SARAH LONER on 11 Jan 2020
Commented: SARAH LONER on 13 Jan 2020
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

Accepted Answer

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

More Answers (1)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by