Documentation of 'boofcv.alg.enhance.EnhanceImageOps' Java class
EnhanceImageOps
boofcv.alg.enhance

Class EnhanceImageOps



  • public class EnhanceImageOps
    extends java.lang.Object

    Operations for improving the visibility of images.

    See [1] for a discussion of algorithms found in this class.

    [1] R. C. Gonzalez, R. E. Woods, "Digitial Image Processing" 2nd Ed. 2002

    • Constructor Summary

      Constructors 
      Constructor and Description
      EnhanceImageOps() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void applyTransform(GrayS16 input, int[] transform, int minValue, GrayS16 output)
      Applies the transformation table to the provided input image.
      static void applyTransform(GrayS32 input, int[] transform, int minValue, GrayS32 output)
      Applies the transformation table to the provided input image.
      static void applyTransform(GrayS8 input, int[] transform, int minValue, GrayS8 output)
      Applies the transformation table to the provided input image.
      static void applyTransform(GrayU16 input, int[] transform, GrayU16 output)
      Applies the transformation table to the provided input image.
      static void applyTransform(GrayU8 input, int[] transform, GrayU8 output)
      Applies the transformation table to the provided input image.
      static void equalize(int[] histogram, int[] transform)
      Computes a transformation table which will equalize the provided histogram.
      static void equalizeLocal(GrayU16 input, int radius, GrayU16 output, int[] histogram, int[] transform)
      Equalizes the local image histogram on a per pixel basis.
      static void equalizeLocal(GrayU8 input, int radius, GrayU8 output, int[] histogram, int[] transform)
      Equalizes the local image histogram on a per pixel basis.
      static void sharpen4(GrayF32 input, GrayF32 output)
      Applies a Laplacian-4 based sharpen filter to the image.
      static void sharpen4(GrayU8 input, GrayU8 output)
      Applies a Laplacian-4 based sharpen filter to the image.
      static void sharpen8(GrayF32 input, GrayF32 output)
      Applies a Laplacian-8 based sharpen filter to the image.
      static void sharpen8(GrayU8 input, GrayU8 output)
      Applies a Laplacian-8 based sharpen filter to the image.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnhanceImageOps

        public EnhanceImageOps()
    • Method Detail

      • equalize

        public static void equalize(int[] histogram,
                                    int[] transform)
        Computes a transformation table which will equalize the provided histogram. An equalized histogram spreads the 'weight' across the whole spectrum of values. Often used to make dim images easier for people to see.
        Parameters:
        histogram - Input image histogram.
        transform - Output transformation table.
      • applyTransform

        public static void applyTransform(GrayU8 input,
                                          int[] transform,
                                          GrayU8 output)
        Applies the transformation table to the provided input image.
        Parameters:
        input - Input image.
        transform - Input transformation table.
        output - Output image.
      • applyTransform

        public static void applyTransform(GrayU16 input,
                                          int[] transform,
                                          GrayU16 output)
        Applies the transformation table to the provided input image.
        Parameters:
        input - Input image.
        transform - Input transformation table.
        output - Output image.
      • applyTransform

        public static void applyTransform(GrayS8 input,
                                          int[] transform,
                                          int minValue,
                                          GrayS8 output)
        Applies the transformation table to the provided input image.
        Parameters:
        input - Input image.
        minValue - Minimum possible pixel value.
        transform - Input transformation table.
        output - Output image.
      • applyTransform

        public static void applyTransform(GrayS16 input,
                                          int[] transform,
                                          int minValue,
                                          GrayS16 output)
        Applies the transformation table to the provided input image.
        Parameters:
        input - Input image.
        minValue - Minimum possible pixel value.
        transform - Input transformation table.
        output - Output image.
      • applyTransform

        public static void applyTransform(GrayS32 input,
                                          int[] transform,
                                          int minValue,
                                          GrayS32 output)
        Applies the transformation table to the provided input image.
        Parameters:
        input - Input image.
        minValue - Minimum possible pixel value.
        transform - Input transformation table.
        output - Output image.
      • equalizeLocal

        public static void equalizeLocal(GrayU8 input,
                                         int radius,
                                         GrayU8 output,
                                         int[] histogram,
                                         int[] transform)
        Equalizes the local image histogram on a per pixel basis.
        Parameters:
        input - Input image.
        radius - Radius of square local histogram.
        output - Output image.
        histogram - Storage for image histogram. Must be large enough to contain all possible values.
        transform - Storage for transformation table. Must be large enough to contain all possible values.
      • equalizeLocal

        public static void equalizeLocal(GrayU16 input,
                                         int radius,
                                         GrayU16 output,
                                         int[] histogram,
                                         int[] transform)
        Equalizes the local image histogram on a per pixel basis.
        Parameters:
        input - Input image.
        radius - Radius of square local histogram.
        output - Output image.
        histogram - Storage for image histogram. Must be large enough to contain all possible values.
        transform - Storage for transformation table. Must be large enough to contain all possible values.
      • sharpen4

        public static void sharpen4(GrayU8 input,
                                    GrayU8 output)
        Applies a Laplacian-4 based sharpen filter to the image.
        Parameters:
        input - Input image.
        output - Output image.
      • sharpen4

        public static void sharpen4(GrayF32 input,
                                    GrayF32 output)
        Applies a Laplacian-4 based sharpen filter to the image.
        Parameters:
        input - Input image.
        output - Output image.
      • sharpen8

        public static void sharpen8(GrayU8 input,
                                    GrayU8 output)
        Applies a Laplacian-8 based sharpen filter to the image.
        Parameters:
        input - Input image.
        output - Output image.
      • sharpen8

        public static void sharpen8(GrayF32 input,
                                    GrayF32 output)
        Applies a Laplacian-8 based sharpen filter to the image.
        Parameters:
        input - Input image.
        output - Output image.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.