Method JointBilateralFilter
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
JointBilateralFilter(InputArray, InputArray, OutputArray, int, double, double, BorderTypes)
Applies the joint bilateral filter to an image.
public static void JointBilateralFilter(InputArray joint, InputArray src, OutputArray dst, int d, double sigmaColor, double sigmaSpace, BorderTypes borderType = BorderTypes.Default)
Parameters
jointInputArrayJoint 8-bit or floating-point, 1-channel or 3-channel image.
srcInputArraySource 8-bit or floating-point, 1-channel or 3-channel image with the same depth as joint image.
dstOutputArrayDestination image of the same size and type as src.
dintDiameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace.
sigmaColordoubleFilter sigma in the color space. A larger value of the parameter means that farther colors within the pixel neighborhood(see sigmaSpace) will be mixed together, resulting in larger areas of semi-equal color.
sigmaSpacedoubleFilter sigma in the coordinate space. A larger value of the parameter means that farther pixels will influence each other as long as their colors are close enough(see sigmaColor). When d>0 , it specifies the neighborhood size regardless of sigmaSpace.Otherwise, d is proportional to sigmaSpace.
borderTypeBorderTypes