Enum WMFWeightType
Specifies weight types of weighted median filter.
Namespace: OpenCvSharp.XImgProc
Assembly: OpenCvSharp.dll
Syntax
public enum WMFWeightType
Fields
Name | Description |
---|---|
COS | \f$dot(I1,I2)/(|I1|*|I2|)\f$ |
EXP | \f$exp(-|I1-I2|^2/(2*sigma^2))\f$ |
IV1 | \f$(|I1-I2|+sigma)^-1\f$ |
IV2 | \f$(|I1-I2|^2+sigma^2)^-1\f$ |
JAC | \f$(min(r1,r2)+min(g1,g2)+min(b1,b2))/(max(r1,r2)+max(g1,g2)+max(b1,b2))\f$ |
OFF | unweighted |