how to blur the left half image alone
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
learningmat
il 28 Mag 2014
Risposto: Image Analyst
il 28 Mag 2014
Hi all,
I want to blur the right half or left half of the image alone... How to do that..
Thanks in advance
0 Commenti
Risposta accettata
Image Analyst
il 28 Mag 2014
[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 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!