FilterObjectID =  filter .create  (  MatrixType  )  
                           
Description :

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

Parameters :

  • Type of convolution matrix :
    FILTER_MATRIX3X3
    FILTER_MATRIX5X5

Return Handle :

  • ObjectID of the filter.

Notes :


The filter matrix must be filled using the instruction filter.row.set or filter.column.set. Then, you must define the filter offset (filter.offset.set) as well as the filter scale (filter.scale.set).

Examples :