You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Hi dear MATLAB users,
This function lets you divide colored / grayscale / binary images (im) into equal sub images.
When your image dimensions (M and N) are divisible to a and b, your image divides into (M/a by N/b) sub images, otherwise by decreasing M, N or both dimensions, the image become divisible to a and b.
Hope this could be useful for you.
regards,
M. Bahadori
https://www.researchgate.net/profile/Mehrdad_Bahadori2
Cite As
mehrdad bahadori (2026). im2block(im,a,b) (https://www.mathworks.com/matlabcentral/fileexchange/63270-im2block-im-a-b), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.1 (1.17 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
