Class ImageStatistics


  • @Generated("boofcv.alg.misc.GenerateImageStatistics")
    public class ImageStatistics
    extends java.lang.Object
    Computes statistical properties of pixels inside an image.

    DO NOT MODIFY. This code was automatically generated by GenerateImageStatistics.

    • Constructor Summary

      Constructors 
      Constructor Description
      ImageStatistics()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void histogram​(boofcv.struct.image.GrayF32 input, float minValue, int[] histogram)
      Computes the histogram of intensity values for the image.
      static void histogram​(boofcv.struct.image.GrayF64 input, double minValue, int[] histogram)
      Computes the histogram of intensity values for the image.
      static void histogram​(boofcv.struct.image.GrayS16 input, int minValue, int[] histogram)
      Computes the histogram of intensity values for the image.
      static void histogram​(boofcv.struct.image.GrayS32 input, int minValue, int[] histogram)
      Computes the histogram of intensity values for the image.
      static void histogram​(boofcv.struct.image.GrayS64 input, long minValue, int[] histogram)
      Computes the histogram of intensity values for the image.
      static void histogram​(boofcv.struct.image.GrayS8 input, int minValue, int[] histogram)
      Computes the histogram of intensity values for the image.
      static void histogram​(boofcv.struct.image.GrayU16 input, int minValue, int[] histogram)
      Computes the histogram of intensity values for the image.
      static void histogram​(boofcv.struct.image.GrayU8 input, int minValue, int[] histogram)
      Computes the histogram of intensity values for the image.
      static void histogramScaled​(boofcv.struct.image.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​(boofcv.struct.image.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​(boofcv.struct.image.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​(boofcv.struct.image.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​(boofcv.struct.image.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​(boofcv.struct.image.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​(boofcv.struct.image.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​(boofcv.struct.image.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 max​(boofcv.struct.image.GrayF32 input)
      Returns the maximum element value.
      static double max​(boofcv.struct.image.GrayF64 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.GrayS16 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.GrayS32 input)
      Returns the maximum element value.
      static long max​(boofcv.struct.image.GrayS64 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.GrayS8 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.GrayU16 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.GrayU8 input)
      Returns the maximum element value.
      static float max​(boofcv.struct.image.InterleavedF32 input)
      Returns the maximum element value.
      static double max​(boofcv.struct.image.InterleavedF64 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.InterleavedS16 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.InterleavedS32 input)
      Returns the maximum element value.
      static long max​(boofcv.struct.image.InterleavedS64 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.InterleavedS8 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.InterleavedU16 input)
      Returns the maximum element value.
      static int max​(boofcv.struct.image.InterleavedU8 input)
      Returns the maximum element value.
      static float maxAbs​(boofcv.struct.image.GrayF32 input)
      Returns the maximum element value.
      static double maxAbs​(boofcv.struct.image.GrayF64 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.GrayS16 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.GrayS32 input)
      Returns the maximum element value.
      static long maxAbs​(boofcv.struct.image.GrayS64 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.GrayS8 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.GrayU16 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.GrayU8 input)
      Returns the maximum element value.
      static float maxAbs​(boofcv.struct.image.InterleavedF32 input)
      Returns the maximum element value.
      static double maxAbs​(boofcv.struct.image.InterleavedF64 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.InterleavedS16 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.InterleavedS32 input)
      Returns the maximum element value.
      static long maxAbs​(boofcv.struct.image.InterleavedS64 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.InterleavedS8 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.InterleavedU16 input)
      Returns the maximum element value.
      static int maxAbs​(boofcv.struct.image.InterleavedU8 input)
      Returns the maximum element value.
      static float mean​(boofcv.struct.image.GrayF32 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.GrayF64 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.GrayS16 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.GrayS32 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.GrayS64 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.GrayS8 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.GrayU16 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.GrayU8 img)
      Returns the mean pixel intensity value.
      static float mean​(boofcv.struct.image.InterleavedF32 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.InterleavedF64 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.InterleavedS16 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.InterleavedS32 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.InterleavedS64 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.InterleavedS8 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.InterleavedU16 img)
      Returns the mean pixel intensity value.
      static double mean​(boofcv.struct.image.InterleavedU8 img)
      Returns the mean pixel intensity value.
      static double meanDiffAbs​(boofcv.struct.image.GrayF32 imgA, boofcv.struct.image.GrayF32 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.GrayF64 imgA, boofcv.struct.image.GrayF64 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.GrayS16 imgA, boofcv.struct.image.GrayS16 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.GrayS32 imgA, boofcv.struct.image.GrayS32 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.GrayS64 imgA, boofcv.struct.image.GrayS64 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.GrayS8 imgA, boofcv.struct.image.GrayS8 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.GrayU16 imgA, boofcv.struct.image.GrayU16 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.GrayU8 imgA, boofcv.struct.image.GrayU8 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.InterleavedF32 imgA, boofcv.struct.image.InterleavedF32 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.InterleavedF64 imgA, boofcv.struct.image.InterleavedF64 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.InterleavedS16 imgA, boofcv.struct.image.InterleavedS16 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.InterleavedS32 imgA, boofcv.struct.image.InterleavedS32 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.InterleavedS64 imgA, boofcv.struct.image.InterleavedS64 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.InterleavedS8 imgA, boofcv.struct.image.InterleavedS8 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.InterleavedU16 imgA, boofcv.struct.image.InterleavedU16 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffAbs​(boofcv.struct.image.InterleavedU8 imgA, boofcv.struct.image.InterleavedU8 imgB)
      Computes the mean of absolute value error between the two images.
      static double meanDiffSq​(boofcv.struct.image.GrayF32 imgA, boofcv.struct.image.GrayF32 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.GrayF64 imgA, boofcv.struct.image.GrayF64 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.GrayS16 imgA, boofcv.struct.image.GrayS16 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.GrayS32 imgA, boofcv.struct.image.GrayS32 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.GrayS64 imgA, boofcv.struct.image.GrayS64 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.GrayS8 imgA, boofcv.struct.image.GrayS8 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.GrayU16 imgA, boofcv.struct.image.GrayU16 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.GrayU8 imgA, boofcv.struct.image.GrayU8 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.InterleavedF32 imgA, boofcv.struct.image.InterleavedF32 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.InterleavedF64 imgA, boofcv.struct.image.InterleavedF64 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.InterleavedS16 imgA, boofcv.struct.image.InterleavedS16 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.InterleavedS32 imgA, boofcv.struct.image.InterleavedS32 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.InterleavedS64 imgA, boofcv.struct.image.InterleavedS64 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.InterleavedS8 imgA, boofcv.struct.image.InterleavedS8 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.InterleavedU16 imgA, boofcv.struct.image.InterleavedU16 imgB)
      Computes the mean squared error (MSE) between the two images.
      static double meanDiffSq​(boofcv.struct.image.InterleavedU8 imgA, boofcv.struct.image.InterleavedU8 imgB)
      Computes the mean squared error (MSE) between the two images.
      static float min​(boofcv.struct.image.GrayF32 input)
      Returns the minimum element value.
      static double min​(boofcv.struct.image.GrayF64 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.GrayS16 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.GrayS32 input)
      Returns the minimum element value.
      static long min​(boofcv.struct.image.GrayS64 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.GrayS8 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.GrayU16 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.GrayU8 input)
      Returns the minimum element value.
      static float min​(boofcv.struct.image.InterleavedF32 input)
      Returns the minimum element value.
      static double min​(boofcv.struct.image.InterleavedF64 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.InterleavedS16 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.InterleavedS32 input)
      Returns the minimum element value.
      static long min​(boofcv.struct.image.InterleavedS64 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.InterleavedS8 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.InterleavedU16 input)
      Returns the minimum element value.
      static int min​(boofcv.struct.image.InterleavedU8 input)
      Returns the minimum element value.
      static float sum​(boofcv.struct.image.GrayF32 input)
      Returns the sum of all the pixels in the image.
      static double sum​(boofcv.struct.image.GrayF64 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.GrayS16 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.GrayS32 input)
      Returns the sum of all the pixels in the image.
      static long sum​(boofcv.struct.image.GrayS64 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.GrayS8 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.GrayU16 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.GrayU8 input)
      Returns the sum of all the pixels in the image.
      static float sum​(boofcv.struct.image.InterleavedF32 input)
      Returns the sum of all the pixels in the image.
      static double sum​(boofcv.struct.image.InterleavedF64 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.InterleavedS16 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.InterleavedS32 input)
      Returns the sum of all the pixels in the image.
      static long sum​(boofcv.struct.image.InterleavedS64 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.InterleavedS8 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.InterleavedU16 input)
      Returns the sum of all the pixels in the image.
      static int sum​(boofcv.struct.image.InterleavedU8 input)
      Returns the sum of all the pixels in the image.
      static float sumAbs​(boofcv.struct.image.GrayF32 input)
      Returns the sum of all the pixels in the image.
      static double sumAbs​(boofcv.struct.image.GrayF64 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.GrayS16 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.GrayS32 input)
      Returns the sum of all the pixels in the image.
      static long sumAbs​(boofcv.struct.image.GrayS64 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.GrayS8 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.GrayU16 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.GrayU8 input)
      Returns the sum of all the pixels in the image.
      static float sumAbs​(boofcv.struct.image.InterleavedF32 input)
      Returns the sum of all the pixels in the image.
      static double sumAbs​(boofcv.struct.image.InterleavedF64 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.InterleavedS16 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.InterleavedS32 input)
      Returns the sum of all the pixels in the image.
      static long sumAbs​(boofcv.struct.image.InterleavedS64 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.InterleavedS8 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.InterleavedU16 input)
      Returns the sum of all the pixels in the image.
      static int sumAbs​(boofcv.struct.image.InterleavedU8 input)
      Returns the sum of all the pixels in the image.
      static float variance​(boofcv.struct.image.GrayF32 img, float mean)
      Computes the variance of pixel intensity values inside the image.
      static double variance​(boofcv.struct.image.GrayF64 img, double mean)
      Computes the variance of pixel intensity values inside the image.
      static double variance​(boofcv.struct.image.GrayS16 img, double mean)
      Computes the variance of pixel intensity values inside the image.
      static double variance​(boofcv.struct.image.GrayS32 img, double mean)
      Computes the variance of pixel intensity values inside the image.
      static double variance​(boofcv.struct.image.GrayS64 img, double mean)
      Computes the variance of pixel intensity values inside the image.
      static double variance​(boofcv.struct.image.GrayS8 img, double mean)
      Computes the variance of pixel intensity values inside the image.
      static double variance​(boofcv.struct.image.GrayU16 img, double mean)
      Computes the variance of pixel intensity values inside the image.
      static double variance​(boofcv.struct.image.GrayU8 img, double mean)
      Computes the variance of pixel intensity values inside the image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageStatistics

        public ImageStatistics()
    • Method Detail

      • min

        public static int min​(boofcv.struct.image.GrayU8 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • min

        public static int min​(boofcv.struct.image.InterleavedU8 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • max

        public static int max​(boofcv.struct.image.GrayU8 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • max

        public static int max​(boofcv.struct.image.InterleavedU8 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.GrayU8 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.InterleavedU8 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • meanDiffSq

        public static double meanDiffSq​(boofcv.struct.image.GrayU8 imgA,
                                        boofcv.struct.image.GrayU8 imgB)

        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

        public static double meanDiffSq​(boofcv.struct.image.InterleavedU8 imgA,
                                        boofcv.struct.image.InterleavedU8 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.GrayU8 imgA,
                                         boofcv.struct.image.GrayU8 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.InterleavedU8 imgA,
                                         boofcv.struct.image.InterleavedU8 imgB)

        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

        public static int sum​(boofcv.struct.image.GrayU8 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.GrayU8 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.GrayU8 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • sum

        public static int sum​(boofcv.struct.image.InterleavedU8 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.InterleavedU8 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.InterleavedU8 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • variance

        public static double variance​(boofcv.struct.image.GrayU8 img,
                                      double mean)
        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

        public static void histogram​(boofcv.struct.image.GrayU8 input,
                                     int minValue,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • histogramScaled

        public static void histogramScaled​(boofcv.struct.image.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.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • min

        public static int min​(boofcv.struct.image.GrayS8 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • min

        public static int min​(boofcv.struct.image.InterleavedS8 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • max

        public static int max​(boofcv.struct.image.GrayS8 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • max

        public static int max​(boofcv.struct.image.InterleavedS8 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.GrayS8 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.InterleavedS8 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • meanDiffSq

        public static double meanDiffSq​(boofcv.struct.image.GrayS8 imgA,
                                        boofcv.struct.image.GrayS8 imgB)

        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

        public static double meanDiffSq​(boofcv.struct.image.InterleavedS8 imgA,
                                        boofcv.struct.image.InterleavedS8 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.GrayS8 imgA,
                                         boofcv.struct.image.GrayS8 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.InterleavedS8 imgA,
                                         boofcv.struct.image.InterleavedS8 imgB)

        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

        public static int sum​(boofcv.struct.image.GrayS8 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.GrayS8 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.GrayS8 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • sum

        public static int sum​(boofcv.struct.image.InterleavedS8 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.InterleavedS8 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.InterleavedS8 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • variance

        public static double variance​(boofcv.struct.image.GrayS8 img,
                                      double mean)
        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

        public static void histogram​(boofcv.struct.image.GrayS8 input,
                                     int minValue,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • histogramScaled

        public static void histogramScaled​(boofcv.struct.image.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.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • min

        public static int min​(boofcv.struct.image.GrayU16 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • min

        public static int min​(boofcv.struct.image.InterleavedU16 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • max

        public static int max​(boofcv.struct.image.GrayU16 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • max

        public static int max​(boofcv.struct.image.InterleavedU16 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.GrayU16 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.InterleavedU16 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • meanDiffSq

        public static double meanDiffSq​(boofcv.struct.image.GrayU16 imgA,
                                        boofcv.struct.image.GrayU16 imgB)

        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

        public static double meanDiffSq​(boofcv.struct.image.InterleavedU16 imgA,
                                        boofcv.struct.image.InterleavedU16 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.GrayU16 imgA,
                                         boofcv.struct.image.GrayU16 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.InterleavedU16 imgA,
                                         boofcv.struct.image.InterleavedU16 imgB)

        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

        public static int sum​(boofcv.struct.image.GrayU16 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.GrayU16 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.GrayU16 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • sum

        public static int sum​(boofcv.struct.image.InterleavedU16 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.InterleavedU16 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.InterleavedU16 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • variance

        public static double variance​(boofcv.struct.image.GrayU16 img,
                                      double mean)
        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

        public static void histogram​(boofcv.struct.image.GrayU16 input,
                                     int minValue,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • histogramScaled

        public static void histogramScaled​(boofcv.struct.image.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.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • min

        public static int min​(boofcv.struct.image.GrayS16 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • min

        public static int min​(boofcv.struct.image.InterleavedS16 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • max

        public static int max​(boofcv.struct.image.GrayS16 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • max

        public static int max​(boofcv.struct.image.InterleavedS16 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.GrayS16 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.InterleavedS16 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • meanDiffSq

        public static double meanDiffSq​(boofcv.struct.image.GrayS16 imgA,
                                        boofcv.struct.image.GrayS16 imgB)

        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

        public static double meanDiffSq​(boofcv.struct.image.InterleavedS16 imgA,
                                        boofcv.struct.image.InterleavedS16 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.GrayS16 imgA,
                                         boofcv.struct.image.GrayS16 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.InterleavedS16 imgA,
                                         boofcv.struct.image.InterleavedS16 imgB)

        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

        public static int sum​(boofcv.struct.image.GrayS16 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.GrayS16 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.GrayS16 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • sum

        public static int sum​(boofcv.struct.image.InterleavedS16 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.InterleavedS16 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.InterleavedS16 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • variance

        public static double variance​(boofcv.struct.image.GrayS16 img,
                                      double mean)
        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

        public static void histogram​(boofcv.struct.image.GrayS16 input,
                                     int minValue,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • histogramScaled

        public static void histogramScaled​(boofcv.struct.image.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.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • min

        public static int min​(boofcv.struct.image.GrayS32 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • min

        public static int min​(boofcv.struct.image.InterleavedS32 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • max

        public static int max​(boofcv.struct.image.GrayS32 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • max

        public static int max​(boofcv.struct.image.InterleavedS32 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.GrayS32 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static int maxAbs​(boofcv.struct.image.InterleavedS32 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • meanDiffSq

        public static double meanDiffSq​(boofcv.struct.image.GrayS32 imgA,
                                        boofcv.struct.image.GrayS32 imgB)

        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

        public static double meanDiffSq​(boofcv.struct.image.InterleavedS32 imgA,
                                        boofcv.struct.image.InterleavedS32 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.GrayS32 imgA,
                                         boofcv.struct.image.GrayS32 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.InterleavedS32 imgA,
                                         boofcv.struct.image.InterleavedS32 imgB)

        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

        public static int sum​(boofcv.struct.image.GrayS32 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.GrayS32 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.GrayS32 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • sum

        public static int sum​(boofcv.struct.image.InterleavedS32 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static int sumAbs​(boofcv.struct.image.InterleavedS32 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.InterleavedS32 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • variance

        public static double variance​(boofcv.struct.image.GrayS32 img,
                                      double mean)
        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

        public static void histogram​(boofcv.struct.image.GrayS32 input,
                                     int minValue,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • histogramScaled

        public static void histogramScaled​(boofcv.struct.image.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.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • min

        public static long min​(boofcv.struct.image.GrayS64 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • min

        public static long min​(boofcv.struct.image.InterleavedS64 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • max

        public static long max​(boofcv.struct.image.GrayS64 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • max

        public static long max​(boofcv.struct.image.InterleavedS64 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static long maxAbs​(boofcv.struct.image.GrayS64 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static long maxAbs​(boofcv.struct.image.InterleavedS64 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • meanDiffSq

        public static double meanDiffSq​(boofcv.struct.image.GrayS64 imgA,
                                        boofcv.struct.image.GrayS64 imgB)

        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

        public static double meanDiffSq​(boofcv.struct.image.InterleavedS64 imgA,
                                        boofcv.struct.image.InterleavedS64 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.GrayS64 imgA,
                                         boofcv.struct.image.GrayS64 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.InterleavedS64 imgA,
                                         boofcv.struct.image.InterleavedS64 imgB)

        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

        public static long sum​(boofcv.struct.image.GrayS64 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static long sumAbs​(boofcv.struct.image.GrayS64 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.GrayS64 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • sum

        public static long sum​(boofcv.struct.image.InterleavedS64 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static long sumAbs​(boofcv.struct.image.InterleavedS64 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.InterleavedS64 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • variance

        public static double variance​(boofcv.struct.image.GrayS64 img,
                                      double mean)
        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

        public static void histogram​(boofcv.struct.image.GrayS64 input,
                                     long minValue,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • histogramScaled

        public static void histogramScaled​(boofcv.struct.image.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.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • min

        public static float min​(boofcv.struct.image.GrayF32 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • min

        public static float min​(boofcv.struct.image.InterleavedF32 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • max

        public static float max​(boofcv.struct.image.GrayF32 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • max

        public static float max​(boofcv.struct.image.InterleavedF32 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static float maxAbs​(boofcv.struct.image.GrayF32 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static float maxAbs​(boofcv.struct.image.InterleavedF32 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • meanDiffSq

        public static double meanDiffSq​(boofcv.struct.image.GrayF32 imgA,
                                        boofcv.struct.image.GrayF32 imgB)

        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

        public static double meanDiffSq​(boofcv.struct.image.InterleavedF32 imgA,
                                        boofcv.struct.image.InterleavedF32 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.GrayF32 imgA,
                                         boofcv.struct.image.GrayF32 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.InterleavedF32 imgA,
                                         boofcv.struct.image.InterleavedF32 imgB)

        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

        public static float sum​(boofcv.struct.image.GrayF32 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static float sumAbs​(boofcv.struct.image.GrayF32 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static float mean​(boofcv.struct.image.GrayF32 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • sum

        public static float sum​(boofcv.struct.image.InterleavedF32 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static float sumAbs​(boofcv.struct.image.InterleavedF32 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static float mean​(boofcv.struct.image.InterleavedF32 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • variance

        public static float variance​(boofcv.struct.image.GrayF32 img,
                                     float mean)
        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

        public static void histogram​(boofcv.struct.image.GrayF32 input,
                                     float minValue,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • histogramScaled

        public static void histogramScaled​(boofcv.struct.image.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.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • min

        public static double min​(boofcv.struct.image.GrayF64 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • min

        public static double min​(boofcv.struct.image.InterleavedF64 input)
        Returns the minimum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Minimum pixel value.
      • max

        public static double max​(boofcv.struct.image.GrayF64 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • max

        public static double max​(boofcv.struct.image.InterleavedF64 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static double maxAbs​(boofcv.struct.image.GrayF64 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • maxAbs

        public static double maxAbs​(boofcv.struct.image.InterleavedF64 input)
        Returns the maximum element value.
        Parameters:
        input - Input image. Not modified.
        Returns:
        Maximum pixel value.
      • meanDiffSq

        public static double meanDiffSq​(boofcv.struct.image.GrayF64 imgA,
                                        boofcv.struct.image.GrayF64 imgB)

        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

        public static double meanDiffSq​(boofcv.struct.image.InterleavedF64 imgA,
                                        boofcv.struct.image.InterleavedF64 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.GrayF64 imgA,
                                         boofcv.struct.image.GrayF64 imgB)

        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

        public static double meanDiffAbs​(boofcv.struct.image.InterleavedF64 imgA,
                                         boofcv.struct.image.InterleavedF64 imgB)

        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

        public static double sum​(boofcv.struct.image.GrayF64 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static double sumAbs​(boofcv.struct.image.GrayF64 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.GrayF64 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • sum

        public static double sum​(boofcv.struct.image.InterleavedF64 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • sumAbs

        public static double sumAbs​(boofcv.struct.image.InterleavedF64 input)

        Returns the sum of all the pixels in the image.

        Parameters:
        img - Input image. Not modified.
      • mean

        public static double mean​(boofcv.struct.image.InterleavedF64 img)
        Returns the mean pixel intensity value.
        Parameters:
        img - Input image. Not modified.
        Returns:
        Mean pixel intensity value
      • variance

        public static double variance​(boofcv.struct.image.GrayF64 img,
                                      double mean)
        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

        public static void histogram​(boofcv.struct.image.GrayF64 input,
                                     double minValue,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        minValue - (input) Minimum possible intensity value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • histogramScaled

        public static void histogramScaled​(boofcv.struct.image.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 value
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.