How to combine blocks of image into single image?
1 次查看(过去 30 天)
显示 更早的评论
I have divided an image of size 256*256 into blocks of size 32*32 and changed the pixel values.Now I want to join this blocks with changed pixel value into one image.
2 个评论
回答(1 个)
Image Analyst
2015-5-30
Just use indexing to assign them, or else stitch them together:
wideImage1 = [image1, image2, image3, ..... image32];
tallImage = [wideImage1; wideImage2, ..... wideImage32];
I don't know what form your individual images are stored in so I can't do more without guessing.
4 个评论
shital shinde
2020-2-14
any body please tell me or give the code that show how to divide image into multiple blocks and then merge them to get original image.
thank you
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!