extract blocks from image
古いコメントを表示
i wanted to extract 175 blocks of square size, from an image.... please can someone help me... my image is not divisible by 175... how should i resize it so that i can extract 175 blocks of equal size... please do reply....
採用された回答
その他の回答 (1 件)
Image Analyst
2014 年 5 月 2 日
1 投票
The FAQ code was specifically built to be general enough for situations like that, where the image is not an integer multiple of blocks. Please use code from the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
1 件のコメント
Image Analyst
2014 年 5 月 2 日
Though you can resize using imresize() if you prefer to have equal sized blocks.
カテゴリ
ヘルプ センター および File Exchange で Neighborhood and Block Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!