Show / Hide Table of Contents

Class FastBilateralSolverFilter

Interface for implementations of Fast Bilateral Solver.

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

Constructors

| Improve this Doc View Source

FastBilateralSolverFilter(IntPtr)

Creates instance by raw pointer

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

Methods

| Improve this Doc View Source

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

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

Declaration
public static FastBilateralSolverFilter Create(InputArray guide, double sigmaSpatial, double sigmaLuma, double sigmaChroma, double lambda = 128, int numIter = 25, double maxTol = 1E-05)
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 sigmaSpatial

parameter, that is similar to spatial space sigma (bandwidth) in bilateralFilter.

System.Double sigmaLuma

parameter, that is similar to luma space sigma (bandwidth) in bilateralFilter.

System.Double sigmaChroma

parameter, that is similar to chroma space sigma (bandwidth) in bilateralFilter.

System.Double lambda

smoothness strength parameter for solver.

System.Int32 numIter

number of iterations used for solver, 25 is usually enough.

System.Double maxTol

convergence tolerance used for solver.

Returns
Type Description
FastBilateralSolverFilter
| 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, InputArray, OutputArray)

Apply smoothing operation to the source image.

Declaration
public virtual void Filter(InputArray src, InputArray confidence, 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 3 channels.

InputArray confidence

confidence image with unsigned 8-bit or floating-point 32-bit confidence and 1 channel.

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