Class GuidedFilter
Interface for realizations of Guided Filter.
Implements
Inherited Members
Namespace: OpenCvSharp.XImgProc
Assembly: OpenCvSharp.dll
Syntax
public class GuidedFilter : Algorithm, ICvPtrHolder
Constructors
| Improve this Doc View SourceGuidedFilter(IntPtr)
Creates instance by raw pointer
Declaration
protected GuidedFilter(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | p |
Methods
| Improve this Doc View SourceCreate(InputArray, Int32, Double)
Factory method, create instance of GuidedFilter and produce initialization routines.
Declaration
public static GuidedFilter Create(InputArray guide, int radius, double eps)
Parameters
Type | Name | Description |
---|---|---|
InputArray | guide | guided image (or array of images) with up to 3 channels, if it have more then 3 channels then only first 3 channels will be used. |
System.Int32 | radius | radius of Guided Filter. |
System.Double | eps | regularization term of Guided Filter. eps^2 is similar to the sigma in the color space into bilateralFilter. |
Returns
Type | Description |
---|---|
GuidedFilter |
DisposeManaged()
Releases managed resources
Declaration
protected override void DisposeManaged()
Overrides
| Improve this Doc View SourceFilter(InputArray, OutputArray, Int32)
Apply Guided Filter to the filtering image.
Declaration
public virtual void Filter(InputArray src, OutputArray dst, int dDepth = -1)
Parameters
Type | Name | Description |
---|---|---|
InputArray | src | filtering image with any numbers of channels. |
OutputArray | dst | output image. |
System.Int32 | dDepth | optional depth of the output image. dDepth can be set to -1, which will be equivalent to src.depth(). |