Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Median: Integer; | Median. |
| └ indexed: function Median(Index: Integer; Len: Integer): Integer; | ||
| 2 | function Median(const Src: TMtxVecInt; MaskSize: Integer; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt; | Applies median filter with size Mask to Src object elements [SrcIndex..SrcIndex+Len-1] and stores the result in the calling vector elements [Index..Index+Len-1]. |
| 3 | function Median(MaskSize: Integer; Index: Integer; Len: Integer): TMtxVecInt; | Applies median filter with size Mask to the calling vector elements [Index.. Index+Len-1]. |
Overload 1: function Median: Integer;
Median.
Returns: Int32
Calculate median value for all calling object elements.
Indexed: function Median(Index: Integer; Len: Integer): Integer;
Calculate median value for calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Integer | start index |
| 2 | Len | Integer | element count |
Returns: Int32
An exception is raised if TMtxVecBase.ConditionCheck is true and array borders are overrun.
Overload 2: function Median(const Src: TMtxVecInt; MaskSize: Integer; SrcIndex: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Applies median filter with size Mask to Src object elements [SrcIndex..SrcIndex+Len-1] and stores the result in the calling vector elements [Index..Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | MaskSize | Integer | |
| 3 | SrcIndex | Integer | source start index |
| 4 | Index | Integer | start index |
| 5 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Median filter is a nonlinear filter which replaces each element of the Src vector with the median value, calculated over the fixed range (mask) centered around that element and stores the result in the calling vector.
Overload 3: function Median(MaskSize: Integer; Index: Integer; Len: Integer): TMtxVecInt;
Applies median filter with size Mask to the calling vector elements [Index.. Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | MaskSize | Integer | |
| 2 | Index | Integer | start index |
| 3 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Median filter is a nonlinear filter which replaces each element of the calling vector with the median value, calculated over the fixed range (mask) centered around that element.