Package inra.ijpb.measure
Class IntensityMeasures
java.lang.Object
inra.ijpb.measure.LabeledVoxelsMeasure
inra.ijpb.measure.IntensityMeasures
public class IntensityMeasures extends LabeledVoxelsMeasure
Class to facilitate the calculation of intensity measures by
grouping together voxels belonging to the same label.
- Author:
- Ignacio Arganda-Carreras
-
Constructor Summary
Constructors Constructor Description IntensityMeasures(ij.ImagePlus inputImage, ij.ImagePlus labelImage)
Initialize the measurements by reading the input (grayscale) image and its corresponding labels. -
Method Summary
Modifier and Type Method Description ij.measure.ResultsTable
getKurtosis()
Get kurtosis voxel values per labelij.measure.ResultsTable
getMax()
Get maximum voxel values per labelij.measure.ResultsTable
getMean()
Get mean voxel values per labelij.measure.ResultsTable
getMedian()
Get median voxel values per labelij.measure.ResultsTable
getMin()
Get minimum voxel values per labelij.measure.ResultsTable
getMode()
Get mode voxel values per labelij.measure.ResultsTable
getNeighborsKurtosis()
Get the intensity kurtosis values of the neighbor labelsij.measure.ResultsTable
getNeighborsMax()
Get the maximum intensity values of the neighbor labelsij.measure.ResultsTable
getNeighborsMean()
Get the mean intensity values of the neighbor labelsij.measure.ResultsTable
getNeighborsMedian()
Get the median intensity values of the neighbor labelsij.measure.ResultsTable
getNeighborsMin()
Get the minimum intensity values of the neighbor labelsij.measure.ResultsTable
getNeighborsMode()
Get the intensity mode value of the neighbor labelsij.measure.ResultsTable
getNeighborsSkewness()
Get the intensity skewness values of the neighbor labelsij.measure.ResultsTable
getNeighborsStdDev()
Get the standard deviation of the intensity values of the neighbor labelsij.measure.ResultsTable
getSkewness()
Get skewness voxel values per labelij.measure.ResultsTable
getStdDev()
Get standard deviation of voxel values per labelMethods inherited from class inra.ijpb.measure.LabeledVoxelsMeasure
getNumberOfVoxels, getSumOfVoxels, getVolume
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IntensityMeasures
public IntensityMeasures(ij.ImagePlus inputImage, ij.ImagePlus labelImage)Initialize the measurements by reading the input (grayscale) image and its corresponding labels.- Parameters:
inputImage
- input (grayscale) imagelabelImage
- label image (labels are positive integer values)
-
-
Method Details
-
getMean
public ij.measure.ResultsTable getMean()Get mean voxel values per label- Returns:
- result table with mean values per label
-
getNeighborsMean
public ij.measure.ResultsTable getNeighborsMean()Get the mean intensity values of the neighbor labels- Returns:
- result table with mean values of neighbor labels
-
getMedian
public ij.measure.ResultsTable getMedian()Get median voxel values per label- Returns:
- result table with median values per label
-
getNeighborsMedian
public ij.measure.ResultsTable getNeighborsMedian()Get the median intensity values of the neighbor labels- Returns:
- result table with median values of neighbor labels
-
getMode
public ij.measure.ResultsTable getMode()Get mode voxel values per label- Returns:
- result table with mode values per label
-
getNeighborsMode
public ij.measure.ResultsTable getNeighborsMode()Get the intensity mode value of the neighbor labels- Returns:
- result table with intensity mode of neighbor labels
-
getSkewness
public ij.measure.ResultsTable getSkewness()Get skewness voxel values per label- Returns:
- result table with skewness values per label
-
getNeighborsSkewness
public ij.measure.ResultsTable getNeighborsSkewness()Get the intensity skewness values of the neighbor labels- Returns:
- result table with intensity skewness of neighbor labels
-
getKurtosis
public ij.measure.ResultsTable getKurtosis()Get kurtosis voxel values per label- Returns:
- result table with kurtosis values per label
-
getNeighborsKurtosis
public ij.measure.ResultsTable getNeighborsKurtosis()Get the intensity kurtosis values of the neighbor labels- Returns:
- result table with intensity kurtosis of neighbor labels
-
getStdDev
public ij.measure.ResultsTable getStdDev()Get standard deviation of voxel values per label- Returns:
- result table with standard deviation values per label
-
getNeighborsStdDev
public ij.measure.ResultsTable getNeighborsStdDev()Get the standard deviation of the intensity values of the neighbor labels- Returns:
- result table with standard deviation values of neighbor labels
-
getMax
public ij.measure.ResultsTable getMax()Get maximum voxel values per label- Returns:
- result table with maximum values per label
-
getNeighborsMax
public ij.measure.ResultsTable getNeighborsMax()Get the maximum intensity values of the neighbor labels- Returns:
- result table with maximum values of neighbor labels
-
getMin
public ij.measure.ResultsTable getMin()Get minimum voxel values per label- Returns:
- result table with minimum values per label
-
getNeighborsMin
public ij.measure.ResultsTable getNeighborsMin()Get the minimum intensity values of the neighbor labels- Returns:
- result table with minimum values of neighbor labels
-