hello, i m new to matlab,,, plz help me ....how can we divide an image into overlapping blocks?
조회 수: 1 (최근 30일)
이전 댓글 표시
채택된 답변
Image Analyst
2013년 1월 21일
편집: Image Analyst
2013년 1월 21일
blockproc() can do that. Or you can use just regular indexing where you specify yourImage(row1:row2, col1:col2) if you specify the rows and columns correctly. E.g.
block1 = yourImage(1:50, 1:50);
block2 = yourImage(10:60, 1:50); % Overlap of 41 pixels vertically.
댓글 수: 0
추가 답변 (1개)
Thorsten
2013년 1월 21일
If your have a function FUN to be applied to each block, you can use
B = nlfilter(A, [M N], FUN)
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!