im2block(im,a,b)

divide any image into AxB equal sized sub images
96 téléchargements
Mise à jour 15 fév. 2023

Afficher la licence

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

Citation pour cette source

mehrdad bahadori (2024). im2block(im,a,b) (https://www.mathworks.com/matlabcentral/fileexchange/63270-im2block-im-a-b), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2018b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Images dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.1.1

update

1.1

minor bug fix.
Now you can divide both colored/graysclae/binary images to any dimension.

1.0.0.0

title changes