how to blur the left half image alone
4 ビュー (過去 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!