How can I combine 20 2D grayscale images (30*30 each) horizontally side by side from a 3D volumetric grayscale image (30*30*20)?

1 view (last 30 days)
How can I combine 20 2D grayscale images (30*30 each) horizontally side by side from a 3D volumetric grayscale image (30*30*20)?

Accepted Answer

ANKUR KUMAR
ANKUR KUMAR on 4 Oct 2018
Edited: ANKUR KUMAR on 4 Oct 2018
Use reshape command,
A=rand(30,30,20);
AA=reshape(A,30,[],1);
All 20 images are settled side wise in AA

More Answers (0)

Categories

Find more on Image Processing Toolbox 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!