Class SobelFilter

    • Constructor Detail

      • SobelFilter

        public SobelFilter​(double threshold)
        Create a sobel filter
        Parameters:
        threshold - the cutoff beneath which gray values will be set to 0. [0 - 1].
    • Method Detail

      • filter

        public BufferedImage filter​(BufferedImage bi)
        Description copied from interface: Filter
        Apply the filter to the input image and return an altered copy
        Specified by:
        filter in interface Filter
        Parameters:
        bi - the input image to apply the filter on
        Returns:
        the altered image