combining of pixels in matlab
Show older comments
i have split an 256*256 image into 4*4 pixels. Now i want to combine all the 4*4 pixels to form a 256*256 image. I have 16 blocks of 4*4 pixel values. Can anyone please tell me how to do it?? Thanks in advance...
Answers (1)
Image Analyst
on 8 Apr 2013
Stitch them together
stitchHorizontally = [image1, image2];
stitchVertically = [image1; image2];
Put in a loop to stitch them all together.
2 Comments
devaki anjan
on 9 Apr 2013
Image Analyst
on 9 Apr 2013
If they're all already in the same variable then there's nothing to do, right? Unless that variable is a cell array or something.
Categories
Find more on Images in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!