public class ImageStatistics extends Object
Constructor and Description |
---|
ImageStatistics() |
Modifier and Type | Method and Description |
---|---|
static <T extends RealType<T>> |
getImageIntegral(RandomAccessibleInterval<T> img)
Calculates the integral of the pixel values of an image.
|
static <T extends RealType<T>> |
getImageIntegral(RandomAccessibleInterval<T> img,
RandomAccessibleInterval<BitType> mask)
Calculates the integral of the pixel values of an image.
|
static <T extends Type<T> & Comparable<T>> |
getImageMax(RandomAccessibleInterval<T> img)
Calculates the max of an image.
|
static <T extends Type<T> & Comparable<T>> |
getImageMax(RandomAccessibleInterval<T> img,
RandomAccessibleInterval<BitType> mask)
Calculates the max of an image with respect to a mask.
|
static <T extends RealType<T>> |
getImageMean(RandomAccessibleInterval<T> img)
Calculates the mean of an image.
|
static <T extends RealType<T>> |
getImageMean(RandomAccessibleInterval<T> img,
RandomAccessibleInterval<BitType> mask)
Calculates the mean of an image with respect to a mask.
|
static <T extends Type<T> & Comparable<T>> |
getImageMin(RandomAccessibleInterval<T> img)
Calculates the min of an image.
|
static <T extends Type<T> & Comparable<T>> |
getImageMin(RandomAccessibleInterval<T> img,
RandomAccessibleInterval<BitType> mask)
Calculates the min of an image with respect to a mask.
|
static <T extends RealType<T>> |
getNumPixels(RandomAccessibleInterval<T> img)
Calculates the number of pixels in the image.
|
public static final <T extends RealType<T>> long getNumPixels(RandomAccessibleInterval<T> img)
img
- The image to calculate the mean ofpublic static final <T extends RealType<T>> double getImageMean(RandomAccessibleInterval<T> img, RandomAccessibleInterval<BitType> mask)
img
- The image to calculate the mean ofmask
- The mask to respectpublic static final <T extends RealType<T>> double getImageMean(RandomAccessibleInterval<T> img)
img
- The image to calculate the mean ofpublic static final <T extends RealType<T>> double getImageIntegral(RandomAccessibleInterval<T> img)
img
- The image to calculate the integral ofpublic static final <T extends RealType<T>> double getImageIntegral(RandomAccessibleInterval<T> img, RandomAccessibleInterval<BitType> mask)
img
- The image to calculate the integral ofpublic static final <T extends Type<T> & Comparable<T>> T getImageMin(RandomAccessibleInterval<T> img)
img
- The image to calculate the min ofpublic static final <T extends Type<T> & Comparable<T>> T getImageMin(RandomAccessibleInterval<T> img, RandomAccessibleInterval<BitType> mask)
img
- The image to calculate the min ofmask
- The mask to respectpublic static final <T extends Type<T> & Comparable<T>> T getImageMax(RandomAccessibleInterval<T> img)
img
- The image to calculate the max ofpublic static final <T extends Type<T> & Comparable<T>> T getImageMax(RandomAccessibleInterval<T> img, RandomAccessibleInterval<BitType> mask)
img
- The image to calculate the min ofmask
- The mask to respectCopyright © 2015–2021 Fiji. All rights reserved.