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!