public class ImageStatistics extends Object
DO NOT MODIFY: Generated by boofcv.alg.misc.GenerateImageStatistics
| Constructor and Description |
|---|
ImageStatistics() |
| Modifier and Type | Method and Description |
|---|---|
static void |
histogram(ImageFloat32 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(ImageFloat64 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(ImageSInt16 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(ImageSInt32 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(ImageSInt64 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(ImageSInt8 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(ImageUInt16 input,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(ImageUInt8 input,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static float |
max(ImageFloat32 input)
Returns the maximum element value.
|
static double |
max(ImageFloat64 input)
Returns the maximum element value.
|
static int |
max(ImageSInt16 input)
Returns the maximum element value.
|
static int |
max(ImageSInt32 input)
Returns the maximum element value.
|
static long |
max(ImageSInt64 input)
Returns the maximum element value.
|
static int |
max(ImageSInt8 input)
Returns the maximum element value.
|
static int |
max(ImageUInt16 input)
Returns the maximum element value.
|
static int |
max(ImageUInt8 input)
Returns the maximum element value.
|
static float |
maxAbs(ImageFloat32 input)
Returns the absolute value of the element with the largest absolute value.
|
static double |
maxAbs(ImageFloat64 input)
Returns the absolute value of the element with the largest absolute value.
|
static int |
maxAbs(ImageSInt16 input)
Returns the absolute value of the element with the largest absolute value.
|
static int |
maxAbs(ImageSInt32 input)
Returns the absolute value of the element with the largest absolute value.
|
static long |
maxAbs(ImageSInt64 input)
Returns the absolute value of the element with the largest absolute value.
|
static int |
maxAbs(ImageSInt8 input)
Returns the absolute value of the element with the largest absolute value.
|
static int |
maxAbs(ImageUInt16 input)
Returns the absolute value of the element with the largest absolute value.
|
static int |
maxAbs(ImageUInt8 input)
Returns the absolute value of the element with the largest absolute value.
|
static double |
mean(ImageFloat32 img)
Returns the mean pixel intensity value.
|
static double |
mean(ImageFloat64 img)
Returns the mean pixel intensity value.
|
static double |
mean(ImageSInt16 img)
Returns the mean pixel intensity value.
|
static double |
mean(ImageSInt32 img)
Returns the mean pixel intensity value.
|
static double |
mean(ImageSInt64 img)
Returns the mean pixel intensity value.
|
static double |
mean(ImageSInt8 img)
Returns the mean pixel intensity value.
|
static double |
mean(ImageUInt16 img)
Returns the mean pixel intensity value.
|
static double |
mean(ImageUInt8 img)
Returns the mean pixel intensity value.
|
static double |
meanDiffAbs(ImageFloat32 imgA,
ImageFloat32 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffAbs(ImageFloat64 imgA,
ImageFloat64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffAbs(ImageSInt16 imgA,
ImageSInt16 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffAbs(ImageSInt32 imgA,
ImageSInt32 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffAbs(ImageSInt64 imgA,
ImageSInt64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffAbs(ImageSInt8 imgA,
ImageSInt8 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffAbs(ImageUInt16 imgA,
ImageUInt16 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffAbs(ImageUInt8 imgA,
ImageUInt8 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(ImageFloat32 imgA,
ImageFloat32 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(ImageFloat64 imgA,
ImageFloat64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(ImageSInt16 imgA,
ImageSInt16 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(ImageSInt32 imgA,
ImageSInt32 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(ImageSInt64 imgA,
ImageSInt64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(ImageSInt8 imgA,
ImageSInt8 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(ImageUInt16 imgA,
ImageUInt16 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(ImageUInt8 imgA,
ImageUInt8 imgB)
Computes the mean squared error (MSE) between the two images.
|
static float |
min(ImageFloat32 input)
Returns the minimum element value.
|
static double |
min(ImageFloat64 input)
Returns the minimum element value.
|
static int |
min(ImageSInt16 input)
Returns the minimum element value.
|
static int |
min(ImageSInt32 input)
Returns the minimum element value.
|
static long |
min(ImageSInt64 input)
Returns the minimum element value.
|
static int |
min(ImageSInt8 input)
Returns the minimum element value.
|
static int |
min(ImageUInt16 input)
Returns the minimum element value.
|
static int |
min(ImageUInt8 input)
Returns the minimum element value.
|
static float |
sum(ImageFloat32 img)
Returns the sum of all the pixels in the image.
|
static double |
sum(ImageFloat64 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(ImageSInt16 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(ImageSInt32 img)
Returns the sum of all the pixels in the image.
|
static long |
sum(ImageSInt64 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(ImageSInt8 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(ImageUInt16 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(ImageUInt8 img)
Returns the sum of all the pixels in the image.
|
static double |
variance(ImageFloat32 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(ImageFloat64 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(ImageSInt16 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(ImageSInt32 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(ImageSInt64 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(ImageSInt8 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(ImageUInt16 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(ImageUInt8 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
public static int min(ImageUInt8 input)
input - Input image. Not modified.public static int max(ImageUInt8 input)
input - Input image. Not modified.public static int maxAbs(ImageUInt8 input)
input - Input image. Not modified.public static int sum(ImageUInt8 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(ImageUInt8 img)
img - Input image. Not modified.public static double variance(ImageUInt8 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static double meanDiffSq(ImageUInt8 imgA, ImageUInt8 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(ImageUInt8 imgA, ImageUInt8 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static void histogram(ImageUInt8 input, int[] histogram)
input - (input) Image.histogram - (output) Storage for histogram. Number of elements must be equal to max value.public static int min(ImageSInt8 input)
input - Input image. Not modified.public static int max(ImageSInt8 input)
input - Input image. Not modified.public static int maxAbs(ImageSInt8 input)
input - Input image. Not modified.public static int sum(ImageSInt8 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(ImageSInt8 img)
img - Input image. Not modified.public static double variance(ImageSInt8 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static double meanDiffSq(ImageSInt8 imgA, ImageSInt8 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(ImageSInt8 imgA, ImageSInt8 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static void histogram(ImageSInt8 input, int minValue, int[] histogram)
input - (input) Image.minValue - (input) Minimum possible intensity valuehistogram - (output) Storage for histogram. Number of elements must be equal to max value.public static int min(ImageUInt16 input)
input - Input image. Not modified.public static int max(ImageUInt16 input)
input - Input image. Not modified.public static int maxAbs(ImageUInt16 input)
input - Input image. Not modified.public static int sum(ImageUInt16 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(ImageUInt16 img)
img - Input image. Not modified.public static double variance(ImageUInt16 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static double meanDiffSq(ImageUInt16 imgA, ImageUInt16 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(ImageUInt16 imgA, ImageUInt16 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static void histogram(ImageUInt16 input, int[] histogram)
input - (input) Image.histogram - (output) Storage for histogram. Number of elements must be equal to max value.public static int min(ImageSInt16 input)
input - Input image. Not modified.public static int max(ImageSInt16 input)
input - Input image. Not modified.public static int maxAbs(ImageSInt16 input)
input - Input image. Not modified.public static int sum(ImageSInt16 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(ImageSInt16 img)
img - Input image. Not modified.public static double variance(ImageSInt16 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static double meanDiffSq(ImageSInt16 imgA, ImageSInt16 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(ImageSInt16 imgA, ImageSInt16 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static void histogram(ImageSInt16 input, int minValue, int[] histogram)
input - (input) Image.minValue - (input) Minimum possible intensity valuehistogram - (output) Storage for histogram. Number of elements must be equal to max value.public static int min(ImageSInt32 input)
input - Input image. Not modified.public static int max(ImageSInt32 input)
input - Input image. Not modified.public static int maxAbs(ImageSInt32 input)
input - Input image. Not modified.public static int sum(ImageSInt32 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(ImageSInt32 img)
img - Input image. Not modified.public static double variance(ImageSInt32 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static double meanDiffSq(ImageSInt32 imgA, ImageSInt32 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(ImageSInt32 imgA, ImageSInt32 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static void histogram(ImageSInt32 input, int minValue, int[] histogram)
input - (input) Image.minValue - (input) Minimum possible intensity valuehistogram - (output) Storage for histogram. Number of elements must be equal to max value.public static long min(ImageSInt64 input)
input - Input image. Not modified.public static long max(ImageSInt64 input)
input - Input image. Not modified.public static long maxAbs(ImageSInt64 input)
input - Input image. Not modified.public static long sum(ImageSInt64 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(ImageSInt64 img)
img - Input image. Not modified.public static double variance(ImageSInt64 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static double meanDiffSq(ImageSInt64 imgA, ImageSInt64 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(ImageSInt64 imgA, ImageSInt64 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static void histogram(ImageSInt64 input, int minValue, int[] histogram)
input - (input) Image.minValue - (input) Minimum possible intensity valuehistogram - (output) Storage for histogram. Number of elements must be equal to max value.public static float min(ImageFloat32 input)
input - Input image. Not modified.public static float max(ImageFloat32 input)
input - Input image. Not modified.public static float maxAbs(ImageFloat32 input)
input - Input image. Not modified.public static float sum(ImageFloat32 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(ImageFloat32 img)
img - Input image. Not modified.public static double variance(ImageFloat32 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static double meanDiffSq(ImageFloat32 imgA, ImageFloat32 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(ImageFloat32 imgA, ImageFloat32 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static void histogram(ImageFloat32 input, int minValue, int[] histogram)
input - (input) Image.minValue - (input) Minimum possible intensity valuehistogram - (output) Storage for histogram. Number of elements must be equal to max value.public static double min(ImageFloat64 input)
input - Input image. Not modified.public static double max(ImageFloat64 input)
input - Input image. Not modified.public static double maxAbs(ImageFloat64 input)
input - Input image. Not modified.public static double sum(ImageFloat64 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(ImageFloat64 img)
img - Input image. Not modified.public static double variance(ImageFloat64 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static double meanDiffSq(ImageFloat64 imgA, ImageFloat64 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(ImageFloat64 imgA, ImageFloat64 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static void histogram(ImageFloat64 input, int minValue, int[] histogram)
input - (input) Image.minValue - (input) Minimum possible intensity valuehistogram - (output) Storage for histogram. Number of elements must be equal to max value.Copyright © 2013. All Rights Reserved.