| WMFWeightType Enumeration |
Specifies weight types of weighted median filter.
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public enum WMFWeightType
Public Enumeration WMFWeightType
public enum class WMFWeightType
Members
| Member name | Value | Description |
---|
| EXP | 0 |
\f$exp(-|I1-I2|^2/(2*sigma^2))\f$
|
| IV1 | 1 |
\f$(|I1-I2|+sigma)^-1\f$
|
| IV2 | 2 |
\f$(|I1-I2|^2+sigma^2)^-1\f$
|
| COS | 3 |
\f$dot(I1,I2)/(|I1|*|I2|)\f$
|
| JAC | 4 |
\f$(min(r1,r2)+min(g1,g2)+min(b1,b2))/(max(r1,r2)+max(g1,g2)+max(b1,b2))\f$
|
| OFF | 5 |
unweighted
|
See Also