how to reconstruct image that has been clustered to its original image ?
Show older comments
hi, I have an image and already devided it into 100x100 size block. after obtaining cluster for each block I want to return the blocks of the image to its original image. do you guys could help me with matlab code, please?
i've attached the image fyi.
thank you so much.
3 Comments
Adam
on 11 Feb 2019
What is in the blocks? Clustered data of the same shape as the original? It depends in what format you have the data, but why can't you just concatenate all the blocks in the relevant dimensions?
Ade Aulya
on 11 Feb 2019
Adam
on 11 Feb 2019
Again, it depends entirely what format youtr blocks are in, but, for example
img = [block1 block2; block3 block4];
would recompose an image from 4 blocks, provided they are the same size (or compatible sizes at least).
Answers (0)
Categories
Find more on Images 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!