Class LabeledVoxelsMeasure

java.lang.Object
inra.ijpb.measure.LabeledVoxelsMeasure
Direct Known Subclasses:
IntensityMeasures

public class LabeledVoxelsMeasure
extends java.lang.Object
Mother class to extract measures from pairs of grayscale and labeled images.
Author:
Ignacio Arganda-Carreras
  • Constructor Summary

    Constructors
    Constructor Description
    LabeledVoxelsMeasure​(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 getNumberOfVoxels()
    Get number of voxels per label
    ij.measure.ResultsTable getSumOfVoxels()
    Get sum of all voxel intensities per labeled object
    ij.measure.ResultsTable getVolume()
    Get volume per labeled object based on the input image calibration

    Methods inherited from class java.lang.Object

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

    • LabeledVoxelsMeasure

      public LabeledVoxelsMeasure​(ij.ImagePlus inputImage, ij.ImagePlus labelImage)
      Initialize the measurements by reading the input (grayscale) image and its corresponding labels.
      Parameters:
      inputImage - input (grayscale) image
      labelImage - label image (labels are positive integer values)
  • Method Details

    • getNumberOfVoxels

      public ij.measure.ResultsTable getNumberOfVoxels()
      Get number of voxels per label
      Returns:
      number of voxels per label
    • getSumOfVoxels

      public ij.measure.ResultsTable getSumOfVoxels()
      Get sum of all voxel intensities per labeled object
      Returns:
      sum of voxel intensities (Integrated Density) per labeled object
    • getVolume

      public ij.measure.ResultsTable getVolume()
      Get volume per labeled object based on the input image calibration
      Returns:
      volume per labeled object