AdaptiveManifoldFilter

Objective-C

@interface AdaptiveManifoldFilter : Algorithm

Swift

class AdaptiveManifoldFilter : Algorithm

Interface for Adaptive Manifold Filter realizations.

For more details about this filter see CITE: Gastal12 and References_.

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.

Member of Ximgproc

Methods

  • Declaration

    Objective-C

    + (AdaptiveManifoldFilter*)create NS_SWIFT_NAME(create());

    Swift

    class func create() -> AdaptiveManifoldFilter
  • Declaration

    Objective-C

    - (void)collectGarbage NS_SWIFT_NAME(collectGarbage());

    Swift

    func collectGarbage()
  • Apply high-dimensional filtering using adaptive manifolds.

    Declaration

    Objective-C

    - (void)filter:(nonnull Mat *)src
               dst:(nonnull Mat *)dst
             joint:(nonnull Mat *)joint;

    Swift

    func filter(src: Mat, dst: Mat, joint: Mat)

    Parameters

    src

    filtering image with any numbers of channels.

    dst

    output image.

    joint

    optional joint (also called as guided) image with any numbers of channels.

  • Apply high-dimensional filtering using adaptive manifolds.

    Declaration

    Objective-C

    - (void)filter:(nonnull Mat *)src dst:(nonnull Mat *)dst;

    Swift

    func filter(src: Mat, dst: Mat)

    Parameters

    src

    filtering image with any numbers of channels.

    dst

    output image.