Analysis: Mathematics: Custom Filter (Activate a Matrix)
Apply custom filter to a matrix
1. filter2 im:=MSource flt:=MFilter;
2. filter2 im:=MSource flt:=MFilter pad:=map
3. filter2 im:=MSource flt:=MFilter norm:=0
4. filter2 im:=MSource flt:=MFilter om:=MOutput
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input Matrix | im |
Input MatrixObject |
|
The input Matrix object. |
Filter Matrix | flt |
Input MatrixObject |
|
The filter matrix object. |
Padding Option | pad |
Input int |
|
Pad cells outside the borders by:
|
Normalize | norm |
Input int |
|
Whether or not to normalize replacement value with weight of filter. 0 = NO; 1 = Yes. |
Output Matrix | om |
Output MatrixObject |
|
The output matrix object. See the syntax here. |
Please refer to this page in the User Guide for more information: