Class GEnhanceImageOps

java.lang.Object
boofcv.alg.enhance.GEnhanceImageOps

public class GEnhanceImageOps extends Object
Weakly typed version of EnhanceImageOps.
  • Constructor Details

    • GEnhanceImageOps

      public GEnhanceImageOps()
  • Method Details

    • applyTransform

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

      public static <T extends ImageBase<T>> void equalizeLocal(T input, int radius, T output, int histogramLength, @Nullable @Nullable GrowArray<DogArray_I32> workArrays)
      Equalizes the local image histogram on a per pixel basis.
      Parameters:
      input - Input image.
      radius - Radius of square local histogram.
      output - Output image.
      histogramLength - Number of elements in the histogram. 256 for 8-bit images
      workArrays - Used to create work arrays. can be null
    • sharpen4

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

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