Diffusion filters the input image.
function call:
[out_img1]=vsg('Diffusion',in_img1,num1,num2);
Arguments:
in_img1
input image, 3 channel RGB, 1 channel greyscale or binary image, or
DICOM image.
num1
– a double specifying the diffusion parameter
num2
– an integer representing the number of iterations of the diffusion
function.
Description
out_img1
- an image which has dimensions the same as the input image. The output
image is the input image after diffusion filtering.
Example:
img1 = openimage('lake.jpg');
[out_img1]=vsg('Diffusion',img1,5.0,20);