Show / Hide Table of Contents

Class FastGlobalSmootherFilter

Interface for implementations of Fast Global Smoother filter.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
FastGlobalSmootherFilter
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 FastGlobalSmootherFilter : Algorithm, ICvPtrHolder

Constructors

| Improve this Doc View Source

FastGlobalSmootherFilter(IntPtr)

Creates instance by raw pointer

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

Methods

| Improve this Doc View Source

Create(InputArray, Double, Double, Double, Int32)

Factory method, create instance of FastGlobalSmootherFilter and execute the initialization routines.

Declaration
public static FastGlobalSmootherFilter Create(InputArray guide, double lambda, double sigmaColor, double lambdaAttenuation = 0.25, int numIter = 3)
Parameters
Type Name Description
InputArray guide

image serving as guide for filtering. It should have 8-bit depth and either 1 or 3 channels.

System.Double lambda

parameter defining the amount of regularization

System.Double sigmaColor

parameter, that is similar to color space sigma in bilateralFilter.

System.Double lambdaAttenuation

internal parameter, defining how much lambda decreases after each iteration. Normally, it should be 0.25. Setting it to 1.0 may lead to streaking artifacts.

System.Int32 numIter

number of iterations used for filtering, 3 is usually enough.

Returns
Type Description
FastGlobalSmootherFilter
| 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)

Apply smoothing operation to the source image.

Declaration
public virtual void Filter(InputArray src, OutputArray dst)
Parameters
Type Name Description
InputArray src

source image for filtering with unsigned 8-bit or signed 16-bit or floating-point 32-bit depth and up to 4 channels.

OutputArray dst

destination image.

| 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