Gauss

Gaussian filters the input image.

 

function call:

[out_img1]=vsg('Gauss',in_img1,std);

 

Arguments:

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

std – a double representing the standard deviation of the Gaussian kernel.

 

Return values:

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

Example:

img = openimage('lake.jpg');

[out_img2]=vsg('Gauss',img,1.0);

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