Show / Hide Table of Contents

Class GuidedFilter

Interface for realizations of Guided Filter.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
GuidedFilter
Implements
ICvPtrHolder
Inherited Members
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Empty
Algorithm.Save(String)
Algorithm.GetDefaultName()
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp.XImgProc
Assembly: OpenCvSharp.dll
Syntax
public class GuidedFilter : Algorithm, ICvPtrHolder

Constructors

| Improve this Doc View Source

GuidedFilter(IntPtr)

Creates instance by raw pointer

Declaration
protected GuidedFilter(IntPtr p)
Parameters
Type Name Description
IntPtr p

Methods

| Improve this Doc View Source

Create(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
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

Filter(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().

| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX