Class SharpenImageProcessor

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void applyFromPropertiesMap​(java.util.Map<java.lang.String,​java.lang.String> properties)
      Import settings from a map of properties.
      private static java.awt.image.ConvolveOp generateMixed​(float aFactor, float[] a, float[] b)  
      float getSharpenLevel()
      Gets the current sharpen level.
      java.awt.image.BufferedImage process​(java.awt.image.BufferedImage image)
      This method should process given image according to image processors which is contained in the layer
      void setSharpenLevel​(float sharpenLevel)
      Sets the sharpening level.
      java.util.Map<java.lang.String,​java.lang.String> toPropertiesMap()
      Export settings to a map of properties.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getSharpenLevel

        public float getSharpenLevel()
        Gets the current sharpen level.
        Returns:
        The level.
      • setSharpenLevel

        public void setSharpenLevel​(float sharpenLevel)
        Sets the sharpening level.
        Parameters:
        sharpenLevel - The level. Clamped to be positive or 0.
      • generateMixed

        private static java.awt.image.ConvolveOp generateMixed​(float aFactor,
                                                               float[] a,
                                                               float[] b)
      • process

        public java.awt.image.BufferedImage process​(java.awt.image.BufferedImage image)
        Description copied from interface: ImageProcessor
        This method should process given image according to image processors which is contained in the layer
        Specified by:
        process in interface ImageProcessor
        Parameters:
        image - that should be processed
        Returns:
        processed image
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object