@Generated(value="boofcv.alg.misc.GenerateImageStatistics")
public class ImageStatistics
extends java.lang.Object
DO NOT MODIFY: Generated by boofcv.alg.misc.GenerateImageStatistics
.| Constructor and Description |
|---|
ImageStatistics() |
| Modifier and Type | Method and Description |
|---|---|
static void |
histogram(GrayF32 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(GrayF64 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(GrayS16 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(GrayS32 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(GrayS64 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(GrayS8 input,
int minValue,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(GrayU16 input,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static void |
histogram(GrayU8 input,
int[] histogram)
Computes the histogram of intensity values for the image.
|
static float |
max(GrayF32 input)
Returns the maximum element value.
|
static double |
max(GrayF64 input)
Returns the maximum element value.
|
static int |
max(GrayS16 input)
Returns the maximum element value.
|
static int |
max(GrayS32 input)
Returns the maximum element value.
|
static long |
max(GrayS64 input)
Returns the maximum element value.
|
static int |
max(GrayS8 input)
Returns the maximum element value.
|
static int |
max(GrayU16 input)
Returns the maximum element value.
|
static int |
max(GrayU8 input)
Returns the maximum element value.
|
static float |
max(InterleavedF32 input)
Returns the maximum element value.
|
static double |
max(InterleavedF64 input)
Returns the maximum element value.
|
static int |
max(InterleavedS16 input)
Returns the maximum element value.
|
static int |
max(InterleavedS32 input)
Returns the maximum element value.
|
static long |
max(InterleavedS64 input)
Returns the maximum element value.
|
static int |
max(InterleavedS8 input)
Returns the maximum element value.
|
static int |
max(InterleavedU16 input)
Returns the maximum element value.
|
static int |
max(InterleavedU8 input)
Returns the maximum element value.
|
static float |
maxAbs(GrayF32 input)
Returns the maximum element value.
|
static double |
maxAbs(GrayF64 input)
Returns the maximum element value.
|
static int |
maxAbs(GrayS16 input)
Returns the maximum element value.
|
static int |
maxAbs(GrayS32 input)
Returns the maximum element value.
|
static long |
maxAbs(GrayS64 input)
Returns the maximum element value.
|
static int |
maxAbs(GrayS8 input)
Returns the maximum element value.
|
static int |
maxAbs(GrayU16 input)
Returns the maximum element value.
|
static int |
maxAbs(GrayU8 input)
Returns the maximum element value.
|
static float |
maxAbs(InterleavedF32 input)
Returns the maximum element value.
|
static double |
maxAbs(InterleavedF64 input)
Returns the maximum element value.
|
static int |
maxAbs(InterleavedS16 input)
Returns the maximum element value.
|
static int |
maxAbs(InterleavedS32 input)
Returns the maximum element value.
|
static long |
maxAbs(InterleavedS64 input)
Returns the maximum element value.
|
static int |
maxAbs(InterleavedS8 input)
Returns the maximum element value.
|
static int |
maxAbs(InterleavedU16 input)
Returns the maximum element value.
|
static int |
maxAbs(InterleavedU8 input)
Returns the maximum element value.
|
static double |
mean(GrayF32 img)
Returns the mean pixel intensity value.
|
static double |
mean(GrayF64 img)
Returns the mean pixel intensity value.
|
static double |
mean(GrayS16 img)
Returns the mean pixel intensity value.
|
static double |
mean(GrayS32 img)
Returns the mean pixel intensity value.
|
static double |
mean(GrayS64 img)
Returns the mean pixel intensity value.
|
static double |
mean(GrayS8 img)
Returns the mean pixel intensity value.
|
static double |
mean(GrayU16 img)
Returns the mean pixel intensity value.
|
static double |
mean(GrayU8 img)
Returns the mean pixel intensity value.
|
static double |
mean(InterleavedF32 img)
Returns the mean pixel intensity value.
|
static double |
mean(InterleavedF64 img)
Returns the mean pixel intensity value.
|
static double |
mean(InterleavedS16 img)
Returns the mean pixel intensity value.
|
static double |
mean(InterleavedS32 img)
Returns the mean pixel intensity value.
|
static double |
mean(InterleavedS64 img)
Returns the mean pixel intensity value.
|
static double |
mean(InterleavedS8 img)
Returns the mean pixel intensity value.
|
static double |
mean(InterleavedU16 img)
Returns the mean pixel intensity value.
|
static double |
mean(InterleavedU8 img)
Returns the mean pixel intensity value.
|
static double |
meanDiffAbs(GrayF32 imgA,
GrayF32 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(GrayF64 imgA,
GrayF64 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(GrayS16 imgA,
GrayS16 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(GrayS32 imgA,
GrayS32 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(GrayS64 imgA,
GrayS64 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(GrayS8 imgA,
GrayS8 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(GrayU16 imgA,
GrayU16 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(GrayU8 imgA,
GrayU8 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(InterleavedF32 imgA,
InterleavedF32 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(InterleavedF64 imgA,
InterleavedF64 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(InterleavedS16 imgA,
InterleavedS16 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(InterleavedS32 imgA,
InterleavedS32 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(InterleavedS64 imgA,
InterleavedS64 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(InterleavedS8 imgA,
InterleavedS8 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(InterleavedU16 imgA,
InterleavedU16 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffAbs(InterleavedU8 imgA,
InterleavedU8 imgB)
Computes the mean of absolute value error between the two images.
|
static double |
meanDiffSq(GrayF32 imgA,
GrayF32 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(GrayF64 imgA,
GrayF64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(GrayS16 imgA,
GrayS16 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(GrayS32 imgA,
GrayS32 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(GrayS64 imgA,
GrayS64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(GrayS8 imgA,
GrayS8 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(GrayU16 imgA,
GrayU16 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(GrayU8 imgA,
GrayU8 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(InterleavedF32 imgA,
InterleavedF32 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(InterleavedF64 imgA,
InterleavedF64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(InterleavedS16 imgA,
InterleavedS16 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(InterleavedS32 imgA,
InterleavedS32 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(InterleavedS64 imgA,
InterleavedS64 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(InterleavedS8 imgA,
InterleavedS8 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(InterleavedU16 imgA,
InterleavedU16 imgB)
Computes the mean squared error (MSE) between the two images.
|
static double |
meanDiffSq(InterleavedU8 imgA,
InterleavedU8 imgB)
Computes the mean squared error (MSE) between the two images.
|
static float |
min(GrayF32 input)
Returns the minimum element value.
|
static double |
min(GrayF64 input)
Returns the minimum element value.
|
static int |
min(GrayS16 input)
Returns the minimum element value.
|
static int |
min(GrayS32 input)
Returns the minimum element value.
|
static long |
min(GrayS64 input)
Returns the minimum element value.
|
static int |
min(GrayS8 input)
Returns the minimum element value.
|
static int |
min(GrayU16 input)
Returns the minimum element value.
|
static int |
min(GrayU8 input)
Returns the minimum element value.
|
static float |
min(InterleavedF32 input)
Returns the minimum element value.
|
static double |
min(InterleavedF64 input)
Returns the minimum element value.
|
static int |
min(InterleavedS16 input)
Returns the minimum element value.
|
static int |
min(InterleavedS32 input)
Returns the minimum element value.
|
static long |
min(InterleavedS64 input)
Returns the minimum element value.
|
static int |
min(InterleavedS8 input)
Returns the minimum element value.
|
static int |
min(InterleavedU16 input)
Returns the minimum element value.
|
static int |
min(InterleavedU8 input)
Returns the minimum element value.
|
static float |
sum(GrayF32 img)
Returns the sum of all the pixels in the image.
|
static double |
sum(GrayF64 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(GrayS16 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(GrayS32 img)
Returns the sum of all the pixels in the image.
|
static long |
sum(GrayS64 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(GrayS8 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(GrayU16 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(GrayU8 img)
Returns the sum of all the pixels in the image.
|
static float |
sum(InterleavedF32 img)
Returns the sum of all the pixels in the image.
|
static double |
sum(InterleavedF64 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(InterleavedS16 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(InterleavedS32 img)
Returns the sum of all the pixels in the image.
|
static long |
sum(InterleavedS64 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(InterleavedS8 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(InterleavedU16 img)
Returns the sum of all the pixels in the image.
|
static int |
sum(InterleavedU8 img)
Returns the sum of all the pixels in the image.
|
static double |
variance(GrayF32 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(GrayF64 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(GrayS16 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(GrayS32 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(GrayS64 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(GrayS8 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(GrayU16 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
static double |
variance(GrayU8 img,
double mean)
Computes the variance of pixel intensity values inside the image.
|
public static int min(GrayU8 input)
input - Input image. Not modified.public static int min(InterleavedU8 input)
input - Input image. Not modified.public static int max(GrayU8 input)
input - Input image. Not modified.public static int max(InterleavedU8 input)
input - Input image. Not modified.public static int maxAbs(GrayU8 input)
input - Input image. Not modified.public static int maxAbs(InterleavedU8 input)
input - Input image. Not modified.public static double meanDiffSq(GrayU8 imgA, GrayU8 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffSq(InterleavedU8 imgA, InterleavedU8 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(GrayU8 imgA, GrayU8 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(InterleavedU8 imgA, InterleavedU8 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static int sum(GrayU8 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(GrayU8 img)
img - Input image. Not modified.public static int sum(InterleavedU8 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(InterleavedU8 img)
img - Input image. Not modified.public static double variance(GrayU8 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static void histogram(GrayU8 input, int[] histogram)
input - (input) Image.histogram - (output) Storage for histogram. Number of elements must be equal to max value.public static int min(GrayS8 input)
input - Input image. Not modified.public static int min(InterleavedS8 input)
input - Input image. Not modified.public static int max(GrayS8 input)
input - Input image. Not modified.public static int max(InterleavedS8 input)
input - Input image. Not modified.public static int maxAbs(GrayS8 input)
input - Input image. Not modified.public static int maxAbs(InterleavedS8 input)
input - Input image. Not modified.public static double meanDiffSq(GrayS8 imgA, GrayS8 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffSq(InterleavedS8 imgA, InterleavedS8 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(GrayS8 imgA, GrayS8 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(InterleavedS8 imgA, InterleavedS8 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static int sum(GrayS8 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(GrayS8 img)
img - Input image. Not modified.public static int sum(InterleavedS8 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(InterleavedS8 img)
img - Input image. Not modified.public static double variance(GrayS8 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static void histogram(GrayS8 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(GrayU16 input)
input - Input image. Not modified.public static int min(InterleavedU16 input)
input - Input image. Not modified.public static int max(GrayU16 input)
input - Input image. Not modified.public static int max(InterleavedU16 input)
input - Input image. Not modified.public static int maxAbs(GrayU16 input)
input - Input image. Not modified.public static int maxAbs(InterleavedU16 input)
input - Input image. Not modified.public static double meanDiffSq(GrayU16 imgA, GrayU16 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffSq(InterleavedU16 imgA, InterleavedU16 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(GrayU16 imgA, GrayU16 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(InterleavedU16 imgA, InterleavedU16 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static int sum(GrayU16 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(GrayU16 img)
img - Input image. Not modified.public static int sum(InterleavedU16 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(InterleavedU16 img)
img - Input image. Not modified.public static double variance(GrayU16 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static void histogram(GrayU16 input, int[] histogram)
input - (input) Image.histogram - (output) Storage for histogram. Number of elements must be equal to max value.public static int min(GrayS16 input)
input - Input image. Not modified.public static int min(InterleavedS16 input)
input - Input image. Not modified.public static int max(GrayS16 input)
input - Input image. Not modified.public static int max(InterleavedS16 input)
input - Input image. Not modified.public static int maxAbs(GrayS16 input)
input - Input image. Not modified.public static int maxAbs(InterleavedS16 input)
input - Input image. Not modified.public static double meanDiffSq(GrayS16 imgA, GrayS16 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffSq(InterleavedS16 imgA, InterleavedS16 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(GrayS16 imgA, GrayS16 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(InterleavedS16 imgA, InterleavedS16 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static int sum(GrayS16 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(GrayS16 img)
img - Input image. Not modified.public static int sum(InterleavedS16 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(InterleavedS16 img)
img - Input image. Not modified.public static double variance(GrayS16 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static void histogram(GrayS16 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(GrayS32 input)
input - Input image. Not modified.public static int min(InterleavedS32 input)
input - Input image. Not modified.public static int max(GrayS32 input)
input - Input image. Not modified.public static int max(InterleavedS32 input)
input - Input image. Not modified.public static int maxAbs(GrayS32 input)
input - Input image. Not modified.public static int maxAbs(InterleavedS32 input)
input - Input image. Not modified.public static double meanDiffSq(GrayS32 imgA, GrayS32 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffSq(InterleavedS32 imgA, InterleavedS32 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(GrayS32 imgA, GrayS32 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(InterleavedS32 imgA, InterleavedS32 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static int sum(GrayS32 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(GrayS32 img)
img - Input image. Not modified.public static int sum(InterleavedS32 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(InterleavedS32 img)
img - Input image. Not modified.public static double variance(GrayS32 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static void histogram(GrayS32 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(GrayS64 input)
input - Input image. Not modified.public static long min(InterleavedS64 input)
input - Input image. Not modified.public static long max(GrayS64 input)
input - Input image. Not modified.public static long max(InterleavedS64 input)
input - Input image. Not modified.public static long maxAbs(GrayS64 input)
input - Input image. Not modified.public static long maxAbs(InterleavedS64 input)
input - Input image. Not modified.public static double meanDiffSq(GrayS64 imgA, GrayS64 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffSq(InterleavedS64 imgA, InterleavedS64 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(GrayS64 imgA, GrayS64 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(InterleavedS64 imgA, InterleavedS64 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static long sum(GrayS64 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(GrayS64 img)
img - Input image. Not modified.public static long sum(InterleavedS64 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(InterleavedS64 img)
img - Input image. Not modified.public static double variance(GrayS64 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static void histogram(GrayS64 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(GrayF32 input)
input - Input image. Not modified.public static float min(InterleavedF32 input)
input - Input image. Not modified.public static float max(GrayF32 input)
input - Input image. Not modified.public static float max(InterleavedF32 input)
input - Input image. Not modified.public static float maxAbs(GrayF32 input)
input - Input image. Not modified.public static float maxAbs(InterleavedF32 input)
input - Input image. Not modified.public static double meanDiffSq(GrayF32 imgA, GrayF32 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffSq(InterleavedF32 imgA, InterleavedF32 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(GrayF32 imgA, GrayF32 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(InterleavedF32 imgA, InterleavedF32 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static float sum(GrayF32 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(GrayF32 img)
img - Input image. Not modified.public static float sum(InterleavedF32 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(InterleavedF32 img)
img - Input image. Not modified.public static double variance(GrayF32 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static void histogram(GrayF32 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(GrayF64 input)
input - Input image. Not modified.public static double min(InterleavedF64 input)
input - Input image. Not modified.public static double max(GrayF64 input)
input - Input image. Not modified.public static double max(InterleavedF64 input)
input - Input image. Not modified.public static double maxAbs(GrayF64 input)
input - Input image. Not modified.public static double maxAbs(InterleavedF64 input)
input - Input image. Not modified.public static double meanDiffSq(GrayF64 imgA, GrayF64 imgB)
Computes the mean squared error (MSE) between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffSq(InterleavedF64 imgA, InterleavedF64 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(GrayF64 imgA, GrayF64 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double meanDiffAbs(InterleavedF64 imgA, InterleavedF64 imgB)
Computes the mean of absolute value error between the two images.
imgA - first image. Not modified.imgB - second image. Not modified.public static double sum(GrayF64 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(GrayF64 img)
img - Input image. Not modified.public static double sum(InterleavedF64 img)
Returns the sum of all the pixels in the image.
img - Input image. Not modified.public static double mean(InterleavedF64 img)
img - Input image. Not modified.public static double variance(GrayF64 img, double mean)
img - Input image. Not modified.mean - Mean pixel intensity value.public static void histogram(GrayF64 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.