Class AdaptiveManifoldFilter
Interface for Adaptive Manifold Filter realizations.
Below listed optional parameters which may be set up with Algorithm::set function.
- member double sigma_s = 16.0 Spatial standard deviation.
- member double sigma_r = 0.2 Color space standard deviation.
- member int tree_height = -1 Height of the manifold tree (default = -1 : automatically computed).
- member int num_pca_iterations = 1 Number of iterations to computed the eigenvector.
- member bool adjust_outliers = false Specify adjust outliers using Eq. 9 or not.
- member bool use_RNG = true Specify use random number generator to compute eigenvector or not.
Implements
Inherited Members
Namespace: OpenCvSharp.XImgProc
Assembly: OpenCvSharp.dll
Syntax
public class AdaptiveManifoldFilter : Algorithm, ICvPtrHolder
Constructors
| Improve this Doc View SourceAdaptiveManifoldFilter(IntPtr)
Creates instance by raw pointer
Declaration
protected AdaptiveManifoldFilter(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | p |
Properties
| Improve this Doc View SourceAdjustOutliers
Declaration
public bool AdjustOutliers { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PCAIterations
Declaration
public int PCAIterations { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SigmaR
Declaration
public double SigmaR { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
SigmaS
Declaration
public double SigmaS { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TreeHeight
Declaration
public int TreeHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UseRNG
Declaration
public bool UseRNG { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceCreate(Double, Double, Boolean)
Factory method, create instance of AdaptiveManifoldFilter and produce some initialization routines.
Declaration
public static AdaptiveManifoldFilter Create(double sigmaS, double sigmaR, bool adjustOutliers = false)
Parameters
Type | Name | Description |
---|---|---|
System.Double | sigmaS | spatial standard deviation. |
System.Double | sigmaR | color space standard deviation, it is similar to the sigma in the color space into bilateralFilter. |
System.Boolean | adjustOutliers | optional, specify perform outliers adjust operation or not, (Eq. 9) in the original paper. |
Returns
Type | Description |
---|---|
AdaptiveManifoldFilter |
DisposeManaged()
Releases managed resources
Declaration
protected override void DisposeManaged()
Overrides
| Improve this Doc View SourceFilter(InputArray, OutputArray, InputArray)
Apply high-dimensional filtering using adaptive manifolds.
Declaration
public virtual void Filter(InputArray src, OutputArray dst, InputArray joint = null)
Parameters
Type | Name | Description |
---|---|---|
InputArray | src | filtering image with any numbers of channels. |
OutputArray | dst | output image. |
InputArray | joint | optional joint (also called as guided) image with any numbers of channels. |