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
Input
MatrixObject
The input Matrix object.
The filter matrix object.
int
Pad cells outside the borders by: Option list
Whether or not to normalize replacement value with weight of filter. 0 = NO; 1 = Yes.
Output
The output matrix object.
See the syntax here.
Please refer to this page in the User Guide for more information:
medianflt2, specialflt2