Info
この質問は閉じられています。 編集または回答するには再度開いてください。
plz tell me how to divide an image into irregular blocks having different size instead of blocks having same size. please give me code in matlab.
1 回表示 (過去 30 日間)
古いコメントを表示
plz tell me how to divide an image into irregular blocks having different size instead of blocks having same size. please give me code in matlab.
1 件のコメント
Geoff Hayes
2015 年 1 月 11 日
Shamili - please provide some context to your question. Why do you want the blocks to be irregularly sized? How do you choose the sizes? Perhaps include the algorithm that you would like to see implemented and discuss what problems you are experiencing in trying to code it up.
回答 (1 件)
Image Analyst
2015 年 1 月 11 日
To extract a block, do this:
subImage = grayImage(row1:row2, column1:column2);
You can change the values of row1, row2, column1, and column2 whenever you want to make the blocks "irregularly" sized.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!