how images are divided into sub-images
Show older comments
the input image should be divided into many sub images. how to achieve this.
Accepted Answer
More Answers (1)
Michiel Van Duppen
on 19 Aug 2015
0 votes
i have the same problem. After dividing the picture, I want to work with some blocks, other can be deleted. Is this possible? If yes, how can I do it?
2 Comments
Image Analyst
on 19 Aug 2015
Yes. How are you determining which blocks to operate on and which to ignore? Just put your "decision" code into the loop on the code I provided.
useThisBlock = DecisionFunction(theBlock);
% DecisionFunction is a function you devise.
if ~useThisBlock
continue; % Skip to bottom of loop
end
% else operate on this block.
myetceteramail myetceteramail
on 24 Jan 2017
i have used your code and i have done encryption on each block. i had a 512*512 image i broke it up in 3d array of 64*64*64. did encryption on each block. now i want to join the pieces back together to get back the encrypted image i.e a 2D array. can you help.
Categories
Find more on Neighborhood and Block Processing 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!