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
| Modifier and Type | Field and Description |
|---|---|
static boofcv.struct.convolve.Kernel2D_F32 |
kernelEnhance4_F32 |
static boofcv.struct.convolve.Kernel2D_S32 |
kernelEnhance4_I32 |
static boofcv.struct.convolve.Kernel2D_F32 |
kernelEnhance8_F32 |
static boofcv.struct.convolve.Kernel2D_S32 |
kernelEnhance8_I32 |
| Constructor and Description |
|---|
EnhanceImageOps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyTransform(boofcv.struct.image.GrayS16 input,
int[] transform,
int minValue,
boofcv.struct.image.GrayS16 output)
Applies the transformation table to the provided input image.
|
static void |
applyTransform(boofcv.struct.image.GrayS32 input,
int[] transform,
int minValue,
boofcv.struct.image.GrayS32 output)
Applies the transformation table to the provided input image.
|
static void |
applyTransform(boofcv.struct.image.GrayS8 input,
int[] transform,
int minValue,
boofcv.struct.image.GrayS8 output)
Applies the transformation table to the provided input image.
|
static void |
applyTransform(boofcv.struct.image.GrayU16 input,
int[] transform,
boofcv.struct.image.GrayU16 output)
Applies the transformation table to the provided input image.
|
static void |
applyTransform(boofcv.struct.image.GrayU8 input,
int[] transform,
boofcv.struct.image.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(boofcv.struct.image.GrayU16 input,
int radius,
boofcv.struct.image.GrayU16 output,
int histogramLength,
boofcv.concurrency.IWorkArrays workArrays)
Equalizes the local image histogram on a per pixel basis.
|
static void |
equalizeLocal(boofcv.struct.image.GrayU8 input,
int radius,
boofcv.struct.image.GrayU8 output,
int histogramLength,
boofcv.concurrency.IWorkArrays workArrays)
Equalizes the local image histogram on a per pixel basis.
|
static void |
sharpen4(boofcv.struct.image.GrayF32 input,
boofcv.struct.image.GrayF32 output)
Applies a Laplacian-4 based sharpen filter to the image.
|
static void |
sharpen4(boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 output)
Applies a Laplacian-4 based sharpen filter to the image.
|
static void |
sharpen8(boofcv.struct.image.GrayF32 input,
boofcv.struct.image.GrayF32 output)
Applies a Laplacian-8 based sharpen filter to the image.
|
static void |
sharpen8(boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 output)
Applies a Laplacian-8 based sharpen filter to the image.
|
public static boofcv.struct.convolve.Kernel2D_S32 kernelEnhance4_I32
public static boofcv.struct.convolve.Kernel2D_F32 kernelEnhance4_F32
public static boofcv.struct.convolve.Kernel2D_S32 kernelEnhance8_I32
public static boofcv.struct.convolve.Kernel2D_F32 kernelEnhance8_F32
public static void equalize(int[] histogram,
int[] transform)
histogram - Input image histogram.transform - Output transformation table.public static void applyTransform(boofcv.struct.image.GrayU8 input,
int[] transform,
boofcv.struct.image.GrayU8 output)
input - Input image.transform - Input transformation table.output - Output image.public static void applyTransform(boofcv.struct.image.GrayU16 input,
int[] transform,
boofcv.struct.image.GrayU16 output)
input - Input image.transform - Input transformation table.output - Output image.public static void applyTransform(boofcv.struct.image.GrayS8 input,
int[] transform,
int minValue,
boofcv.struct.image.GrayS8 output)
input - Input image.minValue - Minimum possible pixel value.transform - Input transformation table.output - Output image.public static void applyTransform(boofcv.struct.image.GrayS16 input,
int[] transform,
int minValue,
boofcv.struct.image.GrayS16 output)
input - Input image.minValue - Minimum possible pixel value.transform - Input transformation table.output - Output image.public static void applyTransform(boofcv.struct.image.GrayS32 input,
int[] transform,
int minValue,
boofcv.struct.image.GrayS32 output)
input - Input image.minValue - Minimum possible pixel value.transform - Input transformation table.output - Output image.public static void equalizeLocal(boofcv.struct.image.GrayU8 input,
int radius,
boofcv.struct.image.GrayU8 output,
int histogramLength,
boofcv.concurrency.IWorkArrays workArrays)
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 nullpublic static void equalizeLocal(boofcv.struct.image.GrayU16 input,
int radius,
boofcv.struct.image.GrayU16 output,
int histogramLength,
boofcv.concurrency.IWorkArrays workArrays)
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 nullpublic static void sharpen4(boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 output)
input - Input image.output - Output image.public static void sharpen4(boofcv.struct.image.GrayF32 input,
boofcv.struct.image.GrayF32 output)
input - Input image.output - Output image.public static void sharpen8(boofcv.struct.image.GrayU8 input,
boofcv.struct.image.GrayU8 output)
input - Input image.output - Output image.public static void sharpen8(boofcv.struct.image.GrayF32 input,
boofcv.struct.image.GrayF32 output)
input - Input image.output - Output image.