ImLab Scilab Function
Last update :
immask - image masking
Calling Sequence
-
[image_masked] = mask(image_data,mask)
Parameters
-
image_data
: image pixel values
-
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
-
image_masked
: matrix which contains the data encoding the pixels value of the image contained in 'image_data' matrix masked by 'mask', ie pixels under null values in 'mask' are put to zero
Description
This function computes the image which corresponds to 'image_data' image under a mask encoded in 'mask'.