Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

Blur a part of Image | MATLAB | Image Processing

clc

clear all

close all

warning off

c=webcam;

e=c.snapshot;

clear c;

a=e;

imshow(a);

[j rect]=imcrop(a);

ag=fspecial('average',[5,5]);

g=imfilter(a,ag);

g( rect(2):rect(2)+rect(4),rect(1):rect(1)+rect(3), :)=j;

imshow(g);

 


No comments

Popular Posts

Followers