LowPass

Low pass 3x3 filter.

 

function call:

[out_img1]=vsg('LowPass',in_img1);

 

Arguments:

in_img1 input image, 3 channel RGB, 1 channel greyscale or binary image, or DICOM image.

 

Description:

The lowpass filter is equivalent to a 3×3 convolution with a mask in which all the coefficient are set to 1. The result is normalised by dividing by 9.

out_img1 - an image which has dimensions the same as the input image. The output image is the input image after being LowPass filtered.

 

Example:

img = openimage('lake.jpg');

[out_img1]=vsg('LowPass',img);

h=figure; image(uint8(out_img1));set(h,'Name','Lowpass - image');
Home       Functions       Back