Class ImageStatistics
DO NOT MODIFY. This code was automatically generated by GenerateImageStatistics.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Computes the histogram of intensity values for the image.static void
Computes the histogram of intensity values for the image.static void
Computes the histogram of intensity values for the image.static void
Computes the histogram of intensity values for the image.static void
Computes the histogram of intensity values for the image.static void
Computes the histogram of intensity values for the image.static void
Computes the histogram of intensity values for the image.static void
Computes the histogram of intensity values for the image.static void
histogramScaled
(GrayF32 input, float minValue, float maxValue, int[] histogram) Computes the histogram of intensity values for the image while scaling the range to match the histogram.static void
histogramScaled
(GrayF64 input, double minValue, double maxValue, int[] histogram) Computes the histogram of intensity values for the image while scaling the range to match the histogram.static void
histogramScaled
(GrayS16 input, int minValue, int maxValue, int[] histogram) Computes the histogram of intensity values for the image while scaling the range to match the histogram.static void
histogramScaled
(GrayS32 input, int minValue, int maxValue, int[] histogram) Computes the histogram of intensity values for the image while scaling the range to match the histogram.static void
histogramScaled
(GrayS64 input, long minValue, long maxValue, int[] histogram) Computes the histogram of intensity values for the image while scaling the range to match the histogram.static void
histogramScaled
(GrayS8 input, int minValue, int maxValue, int[] histogram) Computes the histogram of intensity values for the image while scaling the range to match the histogram.static void
histogramScaled
(GrayU16 input, int minValue, int maxValue, int[] histogram) Computes the histogram of intensity values for the image while scaling the range to match the histogram.static void
histogramScaled
(GrayU8 input, int minValue, int maxValue, int[] histogram) Computes the histogram of intensity values for the image while scaling the range to match the histogram.static float
Returns the maximum element value.static double
Returns the maximum element value.static int
Returns the maximum element value.static int
Returns the maximum element value.static long
Returns the maximum element value.static int
Returns the maximum element value.static int
Returns the maximum element value.static int
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
Returns the maximum element value.static double
Returns the maximum element value.static int
Returns the maximum element value.static int
Returns the maximum element value.static long
Returns the maximum element value.static int
Returns the maximum element value.static int
Returns the maximum element value.static int
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 float
Returns the mean pixel intensity value.static double
Returns the mean pixel intensity value.static double
Returns the mean pixel intensity value.static double
Returns the mean pixel intensity value.static double
Returns the mean pixel intensity value.static double
Returns the mean pixel intensity value.static double
Returns the mean pixel intensity value.static double
Returns the mean pixel intensity value.static float
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
Returns the minimum element value.static double
Returns the minimum element value.static int
Returns the minimum element value.static int
Returns the minimum element value.static long
Returns the minimum element value.static int
Returns the minimum element value.static int
Returns the minimum element value.static int
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
Returns the sum of all the pixels in the image.static double
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static long
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static float
sum
(InterleavedF32 input) Returns the sum of all the pixels in the image.static double
sum
(InterleavedF64 input) Returns the sum of all the pixels in the image.static int
sum
(InterleavedS16 input) Returns the sum of all the pixels in the image.static int
sum
(InterleavedS32 input) Returns the sum of all the pixels in the image.static long
sum
(InterleavedS64 input) Returns the sum of all the pixels in the image.static int
sum
(InterleavedS8 input) Returns the sum of all the pixels in the image.static int
sum
(InterleavedU16 input) Returns the sum of all the pixels in the image.static int
sum
(InterleavedU8 input) Returns the sum of all the pixels in the image.static float
Returns the sum of all the pixels in the image.static double
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static long
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static int
Returns the sum of all the pixels in the image.static float
sumAbs
(InterleavedF32 input) Returns the sum of all the pixels in the image.static double
sumAbs
(InterleavedF64 input) Returns the sum of all the pixels in the image.static int
sumAbs
(InterleavedS16 input) Returns the sum of all the pixels in the image.static int
sumAbs
(InterleavedS32 input) Returns the sum of all the pixels in the image.static long
sumAbs
(InterleavedS64 input) Returns the sum of all the pixels in the image.static int
sumAbs
(InterleavedS8 input) Returns the sum of all the pixels in the image.static int
sumAbs
(InterleavedU16 input) Returns the sum of all the pixels in the image.static int
sumAbs
(InterleavedU8 input) Returns the sum of all the pixels in the image.static float
Computes the variance of pixel intensity values inside the image.static double
Computes the variance of pixel intensity values inside the image.static double
Computes the variance of pixel intensity values inside the image.static double
Computes the variance of pixel intensity values inside the image.static double
Computes the variance of pixel intensity values inside the image.static double
Computes the variance of pixel intensity values inside the image.static double
Computes the variance of pixel intensity values inside the image.static double
Computes the variance of pixel intensity values inside the image.
-
Constructor Details
-
ImageStatistics
public ImageStatistics()
-
-
Method Details
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
variance
Computes the variance of pixel intensity values inside the image.- Parameters:
img
- Input image. Not modified.mean
- Mean pixel intensity value.- Returns:
- Pixel variance
-
histogram
Computes the histogram of intensity values for the image.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
histogramScaled
Computes the histogram of intensity values for the image while scaling the range to match the histogram.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
variance
Computes the variance of pixel intensity values inside the image.- Parameters:
img
- Input image. Not modified.mean
- Mean pixel intensity value.- Returns:
- Pixel variance
-
histogram
Computes the histogram of intensity values for the image.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
histogramScaled
Computes the histogram of intensity values for the image while scaling the range to match the histogram.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
variance
Computes the variance of pixel intensity values inside the image.- Parameters:
img
- Input image. Not modified.mean
- Mean pixel intensity value.- Returns:
- Pixel variance
-
histogram
Computes the histogram of intensity values for the image.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
histogramScaled
Computes the histogram of intensity values for the image while scaling the range to match the histogram.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
variance
Computes the variance of pixel intensity values inside the image.- Parameters:
img
- Input image. Not modified.mean
- Mean pixel intensity value.- Returns:
- Pixel variance
-
histogram
Computes the histogram of intensity values for the image.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
histogramScaled
Computes the histogram of intensity values for the image while scaling the range to match the histogram.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
variance
Computes the variance of pixel intensity values inside the image.- Parameters:
img
- Input image. Not modified.mean
- Mean pixel intensity value.- Returns:
- Pixel variance
-
histogram
Computes the histogram of intensity values for the image.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
histogramScaled
Computes the histogram of intensity values for the image while scaling the range to match the histogram.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
variance
Computes the variance of pixel intensity values inside the image.- Parameters:
img
- Input image. Not modified.mean
- Mean pixel intensity value.- Returns:
- Pixel variance
-
histogram
Computes the histogram of intensity values for the image.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
histogramScaled
Computes the histogram of intensity values for the image while scaling the range to match the histogram.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
variance
Computes the variance of pixel intensity values inside the image.- Parameters:
img
- Input image. Not modified.mean
- Mean pixel intensity value.- Returns:
- Pixel variance
-
histogram
Computes the histogram of intensity values for the image.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
histogramScaled
Computes the histogram of intensity values for the image while scaling the range to match the histogram.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
min
Returns the minimum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Minimum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
max
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
maxAbs
Returns the maximum element value.- Parameters:
input
- Input image. Not modified.- Returns:
- Maximum pixel value.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffSq
Computes the mean squared error (MSE) between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
meanDiffAbs
Computes the mean of absolute value error between the two images.
- Parameters:
imgA
- first image. Not modified.imgB
- second image. Not modified.- Returns:
- error between the two images.
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
sum
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
sumAbs
Returns the sum of all the pixels in the image.
- Parameters:
img
- Input image. Not modified.
-
mean
Returns the mean pixel intensity value.- Parameters:
img
- Input image. Not modified.- Returns:
- Mean pixel intensity value
-
variance
Computes the variance of pixel intensity values inside the image.- Parameters:
img
- Input image. Not modified.mean
- Mean pixel intensity value.- Returns:
- Pixel variance
-
histogram
Computes the histogram of intensity values for the image.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-
histogramScaled
public static void histogramScaled(GrayF64 input, double minValue, double maxValue, int[] histogram) Computes the histogram of intensity values for the image while scaling the range to match the histogram.- Parameters:
input
- (input) Image.minValue
- (input) Minimum possible intensity valuehistogram
- (output) Storage for histogram. Number of elements must be equal to max value.
-