GuidedFilter

Objective-C

@interface GuidedFilter : Algorithm

Swift

class GuidedFilter : Algorithm

Interface for realizations of Guided Filter.

For more details about this filter see CITE: Kaiming10 .

Member of Ximgproc

Methods

  • Apply Guided Filter to the filtering image.

    Declaration

    Objective-C

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

    Swift

    func filter(src: Mat, dst: Mat, dDepth: Int32)

    Parameters

    src

    filtering image with any numbers of channels.

    dst

    output image.

    dDepth

    optional depth of the output image. dDepth can be set to -1, which will be equivalent to src.depth().

  • Apply Guided Filter to the filtering image.

    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.

    to src.depth().