Class GuidedFilter


  • public class GuidedFilter
    extends Algorithm
    Interface for realizations of (Fast) Guided Filter. For more details about this filter see CITE: Kaiming10 CITE: Kaiming15 .
    • Constructor Detail

      • GuidedFilter

        protected GuidedFilter​(long addr)
    • Method Detail

      • __fromPtr__

        public static GuidedFilter __fromPtr__​(long addr)
      • filter

        public void filter​(Mat src,
                           Mat dst,
                           int dDepth)
        Apply (Fast) Guided Filter to the filtering image.
        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().
      • filter

        public void filter​(Mat src,
                           Mat dst)
        Apply (Fast) Guided Filter to the filtering image.
        Parameters:
        src - filtering image with any numbers of channels.
        dst - output image. to src.depth().
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class Algorithm
        Throws:
        java.lang.Throwable