im2block(im,a,b)
バージョン 1.1.1 (1.17 KB) 作成者:
mehrdad bahadori
divide any image into AxB equal sized sub images
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
引用
mehrdad bahadori (2024). im2block(im,a,b) (https://www.mathworks.com/matlabcentral/fileexchange/63270-im2block-im-a-b), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2018b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!