class CMHNFilter
|
Performs the maximum homogenity neighborhood filter operation on
each selected channel.
More... |
|
|
Public Methods
Protected Members
int iMaskWidth
| iMaskWidth |
[protected]
int iMaskHeight
| iMaskHeight |
[protected]
[protected]
[protected]
[protected]
float afMean[9]
| afMean[9] |
[protected]
float afVariance[9]
| afVariance[9] |
[protected]
Constructor
~CMHNFilter ()
| ~CMHNFilter |
Destructor
Type scanSingleChannelRegion (const CImage& tSrc,int iX,int iY)
| scanSingleChannelRegion |
void setParameters (float* pfParameters)
| setParameters |
Sets all filter parameters.
Parameters:
Parameter | 0: size of neighborhood mask (5, 7, 9, ...)
|
Parameter | 1: operation for new pixel value (0 = mean, 1 = median )
|
void setSize (int iSize)
| setSize |
Sets the size of the neighborhood mask.
Parameters:
iSize | size of neighborhood mask (5, 7, 9, ...)
|
void setNewValOp (int iNewValOp)
| setNewValOp |
Sets the method for calculating the new pixel value.
0 -> new value is the mean of the region with lowest variance
1 -> new value is median of the region with lowest variance
Parameters:
iNewValOp | operation for new pixel value (0 = mean, 1 = median )
|
void preOperation ()
| preOperation |
Reimplemented from CTransformation.
void postOperation ()
| postOperation |
Reimplemented from CTransformation.
void singleChannelOperation (const CImage& tSrc, CImage& tTgt)
| singleChannelOperation |
Reimplemented from CTransformation.
- Author: Thorsten Twellmann (ttwellma@TechFak.Uni-Bielefeld.de)
- Generated: clange on memnon on Tue Feb 4 16:52:35 2003, using kdoc 2.0a53.