Package boofcv.alg.enhance
Class GEnhanceImageOps
java.lang.Object
boofcv.alg.enhance.GEnhanceImageOps
Weakly typed version of
EnhanceImageOps
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ImageGray<T>>
voidapplyTransform
(T input, int[] transform, int minValue, T output) Applies the transformation table to the provided input image.static <T extends ImageBase<T>>
voidequalizeLocal
(T input, int radius, T output, int histogramLength, @Nullable GrowArray<DogArray_I32> workArrays) Equalizes the local image histogram on a per pixel basis.static <T extends ImageBase<T>>
voidsharpen4
(T input, T output) Applies a Laplacian-4 based sharpen filter to the image.static <T extends ImageBase<T>>
voidsharpen8
(T input, T output) Applies a Laplacian-8 based sharpen filter to the image.
-
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 imagesworkArrays
- Used to create work arrays. can be null
-
sharpen4
Applies a Laplacian-4 based sharpen filter to the image.- Parameters:
input
- Input image.output
- Output image.
-
sharpen8
Applies a Laplacian-8 based sharpen filter to the image.- Parameters:
input
- Input image.output
- Output image.
-