public class GHistogramFeatureOps
extends java.lang.Object
Generic version of HistogramFeatureOps which determines image type at runtime.
See
| Constructor and Description |
|---|
GHistogramFeatureOps() |
| Modifier and Type | Method and Description |
|---|---|
static void |
histogram(double[] colors,
int length,
Histogram_F64 histogram)
Computes a coupled histogram from a list of colors.
|
static <T extends boofcv.struct.image.ImageGray> |
histogram(boofcv.struct.image.Planar<T> image,
Histogram_F64 histogram)
Computes a joint histogram for a planar image.
|
static <T extends boofcv.struct.image.ImageGray> |
histogram(T image,
double minPixelValue,
double maxPixelValue,
TupleDesc_F64 histogram)
Computes a single-band normalized histogram for any single band image.
|
public static <T extends boofcv.struct.image.ImageGray> void histogram(T image,
double minPixelValue,
double maxPixelValue,
TupleDesc_F64 histogram)
image - Input image. Not modified.minPixelValue - Minimum possible value for a pixel.maxPixelValue - Maximum possible value for a pixel.histogram - The output histogram.public static <T extends boofcv.struct.image.ImageGray> void histogram(boofcv.struct.image.Planar<T> image,
Histogram_F64 histogram)
image - Input image. Not modified.histogram - Output for the histogram. Must be correctly configured first.public static void histogram(double[] colors,
int length,
Histogram_F64 histogram)
colors - List of colors stored in an interleaved formatlength - Length of usable portion of colorshistogram - Output and histogram configuration.