FilterObjectID =  filter .create  (  MatrixType ,  FilterType  )  
                                
Description :

This instruction creates a pre-defined filter with a 3 x 3 or 5 x 5 convolution matrix.

Parameters :

  • Type of convolution matrix :
    FILTER_MATRIX3X3
    FILTER_MATRIX5X5
  • Type of filter to apply :
    FILTER_BLUR
    FILTER_EDGE
    FILTER_EMBOSS
    FILTER_SHARPEN

Return Handle :

  • ObjectID of the filter.

Examples :