ImLab Scilab Function
Last update :
immedian - image median filtering
Calling Sequence
-
[median_image] = immedian(image_data,kernel[,mask])
Parameters
-
image_data
: image pixel values
-
kernel
: kernel to use to filter the image. Kernel is a matrix M*N, with M and N odds.
-
mask
: matrix returned by an ImLab function or user-defined matrix having the same size than image_data, allows to compute the output value only for the area which is selected. If mask is defined, the output value is computed only for values of image_data corresponding to non zero value in mask
-
median_image
: matrix which contains the image obtained after filtering
Description
This function filters an image using the kernel defined by the user and returns the result of this operation.