Documentation of 'boofcv.alg.misc.ImageStatistics' Java class
ImageStatistics
boofcv.alg.misc

Class ImageStatistics



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

    DO NOT MODIFY: Generated by boofcv.alg.misc.GenerateImageStatistics

    .
    • Constructor Summary

      Constructors 
      Constructor and Description
      ImageStatistics() 
    • Method Summary

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

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

      • ImageStatistics

        public ImageStatistics()
    • Method Detail

      • min

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

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

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

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

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

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

        public static double meanDiffSq(GrayU8 imgA,
                                        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(InterleavedU8 imgA,
                                        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(GrayU8 imgA,
                                         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(InterleavedU8 imgA,
                                         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(GrayU8 img)

        Returns the sum of all the pixels in the image.

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

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

        public static int sum(InterleavedU8 img)

        Returns the sum of all the pixels in the image.

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

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

        public static double variance(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(GrayU8 input,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • min

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

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

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

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

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

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

        public static double meanDiffSq(GrayS8 imgA,
                                        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(InterleavedS8 imgA,
                                        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(GrayS8 imgA,
                                         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(InterleavedS8 imgA,
                                         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(GrayS8 img)

        Returns the sum of all the pixels in the image.

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

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

        public static int sum(InterleavedS8 img)

        Returns the sum of all the pixels in the image.

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

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

        public static double variance(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(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.
      • min

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

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

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

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

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

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

        public static double meanDiffSq(GrayU16 imgA,
                                        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(InterleavedU16 imgA,
                                        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(GrayU16 imgA,
                                         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(InterleavedU16 imgA,
                                         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(GrayU16 img)

        Returns the sum of all the pixels in the image.

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

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

        public static int sum(InterleavedU16 img)

        Returns the sum of all the pixels in the image.

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

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

        public static double variance(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(GrayU16 input,
                                     int[] histogram)
        Computes the histogram of intensity values for the image.
        Parameters:
        input - (input) Image.
        histogram - (output) Storage for histogram. Number of elements must be equal to max value.
      • min

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

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

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

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

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

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

        public static double meanDiffSq(GrayS16 imgA,
                                        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(InterleavedS16 imgA,
                                        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(GrayS16 imgA,
                                         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(InterleavedS16 imgA,
                                         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(GrayS16 img)

        Returns the sum of all the pixels in the image.

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

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

        public static int sum(InterleavedS16 img)

        Returns the sum of all the pixels in the image.

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

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

        public static double variance(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(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.
      • min

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

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

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

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

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

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

        public static double meanDiffSq(GrayS32 imgA,
                                        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(InterleavedS32 imgA,
                                        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(GrayS32 imgA,
                                         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(InterleavedS32 imgA,
                                         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(GrayS32 img)

        Returns the sum of all the pixels in the image.

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

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

        public static int sum(InterleavedS32 img)

        Returns the sum of all the pixels in the image.

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

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

        public static double variance(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(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.
      • min

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

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

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

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

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

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

        public static double meanDiffSq(GrayS64 imgA,
                                        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(InterleavedS64 imgA,
                                        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(GrayS64 imgA,
                                         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(InterleavedS64 imgA,
                                         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(GrayS64 img)

        Returns the sum of all the pixels in the image.

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

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

        public static long sum(InterleavedS64 img)

        Returns the sum of all the pixels in the image.

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

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

        public static double variance(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(GrayS64 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.
      • min

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

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

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

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

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

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

        public static double meanDiffSq(GrayF32 imgA,
                                        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(InterleavedF32 imgA,
                                        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(GrayF32 imgA,
                                         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(InterleavedF32 imgA,
                                         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(GrayF32 img)

        Returns the sum of all the pixels in the image.

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

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

        public static float sum(InterleavedF32 img)

        Returns the sum of all the pixels in the image.

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

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

        public static double variance(GrayF32 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(GrayF32 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.
      • min

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

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

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

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

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

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

        public static double meanDiffSq(GrayF64 imgA,
                                        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(InterleavedF64 imgA,
                                        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(GrayF64 imgA,
                                         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(InterleavedF64 imgA,
                                         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(GrayF64 img)

        Returns the sum of all the pixels in the image.

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

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

        public static double sum(InterleavedF64 img)

        Returns the sum of all the pixels in the image.

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

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

        public static double variance(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(GrayF64 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.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.