ImLab Scilab Function
Last update :
imerode - image dilation
Calling Sequence
-
[eroded_image] = imerode(image_data,kernel[,mask])
Parameters
-
image_data
: image pixel values
-
kernel
: the kernel to use to erode the image. The values contained in the kernel are non-null if we want to consider the pixel under it or null if the value is not to be considered. 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
-
eroded_image
: matrix which contains the image obtained after the erosion
Description
This function erodes an image using the kernel defined by the user and returns the result of this operation.