Click or drag to resize

CvXImgProcRollingGuidanceFilter Method

Applies the rolling guidance filter to an image.

Namespace:  OpenCvSharp.XImgProc
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void RollingGuidanceFilter(
	InputArray src,
	OutputArray dst,
	int d = -1,
	double sigmaColor = 25,
	double sigmaSpace = 3,
	int numOfIter = 4,
	BorderTypes borderType = BorderTypes.Reflect101
)

Parameters

src
Type: OpenCvSharpInputArray
8-bit or floating-point, 1-channel or 3-channel image.
dst
Type: OpenCvSharpOutputArray
Destination image of the same size and type as src.
d (Optional)
Type: SystemInt32
Diameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace.
sigmaColor (Optional)
Type: SystemDouble
Filter 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.
sigmaSpace (Optional)
Type: SystemDouble
Filter 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.
numOfIter (Optional)
Type: SystemInt32
Number of iterations of joint edge-preserving filtering applied on the source image.
borderType (Optional)
Type: OpenCvSharpBorderTypes

[Missing <param name="borderType"/> documentation for "M:OpenCvSharp.XImgProc.CvXImgProc.RollingGuidanceFilter(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Double,System.Double,System.Int32,OpenCvSharp.BorderTypes)"]

See Also