to blurr face step by step guide
FACE BLURR
Blurr an
Image:
A blur is a shape or area which you cannot see
clearly because it has no distinct outline or because it is moving very fast.
When a thing blurs or when something blurs it,
you cannot see it clearly because its edges are no longer distinct.
Steps to blurr the image:
Step 1:
Import the image to the working directory
Step 2.
Read the image by using imread(); command
Step 3:
Initialize variable as much you want the blurr
level of image e.g 13,50…
Step 4:
Initialize variable by using any name than assign
fspecial function which will be like
h = fspecial('gaussian',hsize,sigma)
returns
a rotationally symmetric Gaussian lowpass filter of size hsize
with standard deviation sigma
(positive).
Step 5.
blurred = imfilter(subImage,H);
filters the multidimensional array
A
with the multidimensional filter conv. The
array circular
can be a
nonsparse numeric array of any class and dimension. The result blurred
has the same size and
class as circular
.
Step 6:
Use subplot function to load the image with the
blurred effect.
Step 7:
img(xbox(2):xbox(2)+xbox(4),xbox(1):xbox(1)+xbox(3),1:end)
= blurred;
change the values
in array.
here is the source
code:
output
Comments
Post a Comment