Class ImageStatistics
DO NOT MODIFY. This code was automatically generated by GenerateImageStatistics.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidComputes the histogram of intensity values for the image.static voidComputes the histogram of intensity values for the image.static voidComputes the histogram of intensity values for the image.static voidComputes the histogram of intensity values for the image.static voidComputes the histogram of intensity values for the image.static voidComputes the histogram of intensity values for the image.static voidComputes the histogram of intensity values for the image.static voidComputes the histogram of intensity values for the image.static voidhistogramScaled(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 voidhistogramScaled(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 voidhistogramScaled(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 voidhistogramScaled(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 voidhistogramScaled(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 voidhistogramScaled(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 voidhistogramScaled(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 voidhistogramScaled(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 floatReturns the maximum element value.static doubleReturns the maximum element value.static intReturns the maximum element value.static intReturns the maximum element value.static longReturns the maximum element value.static intReturns the maximum element value.static intReturns the maximum element value.static intReturns the maximum element value.static floatmax(InterleavedF32 input) Returns the maximum element value.static doublemax(InterleavedF64 input) Returns the maximum element value.static intmax(InterleavedS16 input) Returns the maximum element value.static intmax(InterleavedS32 input) Returns the maximum element value.static longmax(InterleavedS64 input) Returns the maximum element value.static intmax(InterleavedS8 input) Returns the maximum element value.static intmax(InterleavedU16 input) Returns the maximum element value.static intmax(InterleavedU8 input) Returns the maximum element value.static floatReturns the maximum element value.static doubleReturns the maximum element value.static intReturns the maximum element value.static intReturns the maximum element value.static longReturns the maximum element value.static intReturns the maximum element value.static intReturns the maximum element value.static intReturns the maximum element value.static floatmaxAbs(InterleavedF32 input) Returns the maximum element value.static doublemaxAbs(InterleavedF64 input) Returns the maximum element value.static intmaxAbs(InterleavedS16 input) Returns the maximum element value.static intmaxAbs(InterleavedS32 input) Returns the maximum element value.static longmaxAbs(InterleavedS64 input) Returns the maximum element value.static intmaxAbs(InterleavedS8 input) Returns the maximum element value.static intmaxAbs(InterleavedU16 input) Returns the maximum element value.static intmaxAbs(InterleavedU8 input) Returns the maximum element value.static floatReturns the mean pixel intensity value.static doubleReturns the mean pixel intensity value.static doubleReturns the mean pixel intensity value.static doubleReturns the mean pixel intensity value.static doubleReturns the mean pixel intensity value.static doubleReturns the mean pixel intensity value.static doubleReturns the mean pixel intensity value.static doubleReturns the mean pixel intensity value.static floatmean(InterleavedF32 img) Returns the mean pixel intensity value.static doublemean(InterleavedF64 img) Returns the mean pixel intensity value.static doublemean(InterleavedS16 img) Returns the mean pixel intensity value.static doublemean(InterleavedS32 img) Returns the mean pixel intensity value.static doublemean(InterleavedS64 img) Returns the mean pixel intensity value.static doublemean(InterleavedS8 img) Returns the mean pixel intensity value.static doublemean(InterleavedU16 img) Returns the mean pixel intensity value.static doublemean(InterleavedU8 img) Returns the mean pixel intensity value.static doublemeanDiffAbs(GrayF32 imgA, GrayF32 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(GrayF64 imgA, GrayF64 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(GrayS16 imgA, GrayS16 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(GrayS32 imgA, GrayS32 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(GrayS64 imgA, GrayS64 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(GrayS8 imgA, GrayS8 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(GrayU16 imgA, GrayU16 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(GrayU8 imgA, GrayU8 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(InterleavedF32 imgA, InterleavedF32 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(InterleavedF64 imgA, InterleavedF64 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(InterleavedS16 imgA, InterleavedS16 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(InterleavedS32 imgA, InterleavedS32 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(InterleavedS64 imgA, InterleavedS64 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(InterleavedS8 imgA, InterleavedS8 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(InterleavedU16 imgA, InterleavedU16 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffAbs(InterleavedU8 imgA, InterleavedU8 imgB) Computes the mean of absolute value error between the two images.static doublemeanDiffSq(GrayF32 imgA, GrayF32 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(GrayF64 imgA, GrayF64 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(GrayS16 imgA, GrayS16 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(GrayS32 imgA, GrayS32 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(GrayS64 imgA, GrayS64 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(GrayS8 imgA, GrayS8 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(GrayU16 imgA, GrayU16 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(GrayU8 imgA, GrayU8 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(InterleavedF32 imgA, InterleavedF32 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(InterleavedF64 imgA, InterleavedF64 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(InterleavedS16 imgA, InterleavedS16 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(InterleavedS32 imgA, InterleavedS32 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(InterleavedS64 imgA, InterleavedS64 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(InterleavedS8 imgA, InterleavedS8 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(InterleavedU16 imgA, InterleavedU16 imgB) Computes the mean squared error (MSE) between the two images.static doublemeanDiffSq(InterleavedU8 imgA, InterleavedU8 imgB) Computes the mean squared error (MSE) between the two images.static floatReturns the minimum element value.static doubleReturns the minimum element value.static intReturns the minimum element value.static intReturns the minimum element value.static longReturns the minimum element value.static intReturns the minimum element value.static intReturns the minimum element value.static intReturns the minimum element value.static floatmin(InterleavedF32 input) Returns the minimum element value.static doublemin(InterleavedF64 input) Returns the minimum element value.static intmin(InterleavedS16 input) Returns the minimum element value.static intmin(InterleavedS32 input) Returns the minimum element value.static longmin(InterleavedS64 input) Returns the minimum element value.static intmin(InterleavedS8 input) Returns the minimum element value.static intmin(InterleavedU16 input) Returns the minimum element value.static intmin(InterleavedU8 input) Returns the minimum element value.static floatReturns the sum of all the pixels in the image.static doubleReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static longReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static floatsum(InterleavedF32 input) Returns the sum of all the pixels in the image.static doublesum(InterleavedF64 input) Returns the sum of all the pixels in the image.static intsum(InterleavedS16 input) Returns the sum of all the pixels in the image.static intsum(InterleavedS32 input) Returns the sum of all the pixels in the image.static longsum(InterleavedS64 input) Returns the sum of all the pixels in the image.static intsum(InterleavedS8 input) Returns the sum of all the pixels in the image.static intsum(InterleavedU16 input) Returns the sum of all the pixels in the image.static intsum(InterleavedU8 input) Returns the sum of all the pixels in the image.static floatReturns the sum of all the pixels in the image.static doubleReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static longReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static intReturns the sum of all the pixels in the image.static floatsumAbs(InterleavedF32 input) Returns the sum of all the pixels in the image.static doublesumAbs(InterleavedF64 input) Returns the sum of all the pixels in the image.static intsumAbs(InterleavedS16 input) Returns the sum of all the pixels in the image.static intsumAbs(InterleavedS32 input) Returns the sum of all the pixels in the image.static longsumAbs(InterleavedS64 input) Returns the sum of all the pixels in the image.static intsumAbs(InterleavedS8 input) Returns the sum of all the pixels in the image.static intsumAbs(InterleavedU16 input) Returns the sum of all the pixels in the image.static intsumAbs(InterleavedU8 input) Returns the sum of all the pixels in the image.static floatComputes the variance of pixel intensity values inside the image.static doubleComputes the variance of pixel intensity values inside the image.static doubleComputes the variance of pixel intensity values inside the image.static doubleComputes the variance of pixel intensity values inside the image.static doubleComputes the variance of pixel intensity values inside the image.static doubleComputes the variance of pixel intensity values inside the image.static doubleComputes the variance of pixel intensity values inside the image.static doubleComputes 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.
-