how to blur the left half image alone
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi all,
I want to blur the right half or left half of the image alone... How to do that..
Thanks in advance
댓글 수: 0
채택된 답변
Image Analyst
2014년 5월 28일
[rows, columns] = size(yourImage);
midColumn = ceil(columns/2);
leftHalf = yourImage(:, 1:midColumn);
rightHalf = yourIMage(:, midColumn+1:end);
windowwindowSizeSzie = 11;
blurryLeft = imfilter(leftHalf, ones(windowSize)/windowSize^2);
blurryRight = imfilter(rightHalf, ones(windowSize)/windowSize^2);
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!