how to combine various image blocks into a single image

i have divided the image into various blocks and every block is stored in in an array like image{i-n} contains the all blocks of image.how can we combine to get a single image back
thanks

Answers (1)

Concatenate your blocks. For example if your image is nxm array and was divided in two blocks
old_image=[block11 block12 ;block21 block22]

Community Treasure Hunt

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

Start Hunting!