Analysis: Mathematics: Median Filter
Apply median filter to a matrix
1. medianflt2 im:=MSource;
2. medianflt2 im:=MSource om:=MOutput;
3. medianflt2 n:=3;
4. medianflt2 po:=repeat;
5. medianflt2 im:=MSource om:=Moutput n:=3 po:=map;
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 |
Output Matrix | om |
Output MatrixObject |
|
The output matrix See the syntax here. |
Window size | n |
Input int |
|
The filter window size |
Padding Option | po |
Input int |
|
Specifies how to pad cells outside borders.
|
Please refer to this page in the User Guide for more information: