public class LabelValues extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
LabelValues.Position3DValuePair
Inner class for storing a value associated to a 3D position. 
 | 
static class  | 
LabelValues.PositionValuePair
Inner class for storing a value associated to a 2D position. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static LabelValues.PositionValuePair[] | 
findMaxValues(ij.process.ImageProcessor valueImage,
             ij.process.ImageProcessor labelImage,
             int[] labels)
For each label, finds the position of the point belonging to label region
 defined by  
labelImage and with maximal value in intensity
 image valueImage. | 
static LabelValues.Position3DValuePair[] | 
findMaxValues(ij.ImageStack valueImage,
             ij.ImageStack labelImage,
             int[] labels)
For each label, finds the position of the 3D point belonging to label
 region defined by the 3D  
labelImage and with maximal value
 in intensity 3D image valueImage. | 
static LabelValues.PositionValuePair[] | 
findMinValues(ij.process.ImageProcessor valueImage,
             ij.process.ImageProcessor labelImage,
             int[] labels)
For each label, finds the position of the point belonging to label region
 defined by  
labelImage and with minimal value in intensity
 image valueImage. | 
static LabelValues.Position3DValuePair[] | 
findMinValues(ij.ImageStack valueImage,
             ij.ImageStack labelImage,
             int[] labels)
For each label, finds the position of the 3D point belonging to 3D label
 region defined by  
labelImage and with minimal value in 3D
 intensity image valueImage. | 
static Point[] | 
findPositionOfMaxValues(ij.process.ImageProcessor valueImage,
                       ij.process.ImageProcessor labelImage,
                       int[] labels)
For each label, finds the position of the point belonging to label region
 defined by  
labelImage and with maximal value in intensity
 image valueImage. | 
static Cursor3D[] | 
findPositionOfMaxValues(ij.ImageStack valueImage,
                       ij.ImageStack labelImage,
                       int[] labels)
For each label, finds the position of the point belonging to label region
 defined by  
labelImage and with maximal value in intensity
 image valueImage. | 
static Point[] | 
findPositionOfMinValues(ij.process.ImageProcessor valueImage,
                       ij.process.ImageProcessor labelImage,
                       int[] labels)
For each label, finds the position of the point belonging to label region
 defined by  
labelImage and with minimal value in intensity
 image valueImage. | 
static Cursor3D[] | 
findPositionOfMinValues(ij.ImageStack valueImage,
                       ij.ImageStack labelImage,
                       int[] labels)
For each label, finds the position of the point belonging to label region
 defined by  
labelImage and with minimal value in intensity
 image valueImage. | 
static double[] | 
maxValues(ij.process.ImageProcessor image,
         ij.process.ImageProcessor labelImage,
         int[] labels)
Find maximum value in intensity image for each label. 
 | 
static double[] | 
maxValues(ij.ImageStack image,
         ij.ImageStack labelImage,
         int[] labels)
Find maximum value in intensity image for each label. 
 | 
static double | 
maxValueWithinLabels(ij.process.ImageProcessor valueImage,
                    ij.process.ImageProcessor labelImage)
Computes the largest value within the  
valueImage, using the
 strictly positive values in labelImage as mask. | 
static double | 
maxValueWithinLabels(ij.ImageStack valueImage,
                    ij.ImageStack labelImage)
Computes the largest value within the  
valueImage, using the
 strictly positive values in labelImage as mask. | 
public static final double maxValueWithinLabels(ij.process.ImageProcessor valueImage,
                                                ij.process.ImageProcessor labelImage)
valueImage, using the
 strictly positive values in labelImage as mask. Can be used
 to setup min/max display value after computing a distance transform.valueImage - the image containing values (e.g. a distance map)labelImage - the image containing strictly positive values for foregroundpublic static final double maxValueWithinLabels(ij.ImageStack valueImage,
                                                ij.ImageStack labelImage)
valueImage, using the
 strictly positive values in labelImage as mask. Can be used
 to setup min/max display value after computing a distance transform.valueImage - the image containing values (e.g. a distance map)labelImage - the image containing strictly positive values for foregroundpublic static final double[] maxValues(ij.process.ImageProcessor image,
                                       ij.process.ImageProcessor labelImage,
                                       int[] labels)
image - the intensity imagelabelImage - the image containing labelslabels - the list of labels for which the values are computedpublic static final double[] maxValues(ij.ImageStack image,
                                       ij.ImageStack labelImage,
                                       int[] labels)
image - the intensity 3D imagelabelImage - the 3D image containing labelslabels - the list of labels for which the values are computedpublic static final LabelValues.PositionValuePair[] findMaxValues(ij.process.ImageProcessor valueImage, ij.process.ImageProcessor labelImage, int[] labels)
labelImage and with maximal value in intensity
 image valueImage.valueImage - the intensity image containing values to comparelabelImage - the intensity image containing label of each pixellabels - the list of labels in the label imagepublic static final LabelValues.Position3DValuePair[] findMaxValues(ij.ImageStack valueImage, ij.ImageStack labelImage, int[] labels)
labelImage and with maximal value
 in intensity 3D image valueImage.valueImage - the intensity image containing values to comparelabelImage - the intensity image containing label of each pixellabels - the list of labels in the label imagepublic static final LabelValues.PositionValuePair[] findMinValues(ij.process.ImageProcessor valueImage, ij.process.ImageProcessor labelImage, int[] labels)
labelImage and with minimal value in intensity
 image valueImage.valueImage - the intensity image containing values to comparelabelImage - the intensity image containing label of each pixellabels - the list of labels in the label imagepublic static final LabelValues.Position3DValuePair[] findMinValues(ij.ImageStack valueImage, ij.ImageStack labelImage, int[] labels)
labelImage and with minimal value in 3D
 intensity image valueImage.valueImage - the intensity image containing values to comparelabelImage - the intensity image containing label of each pixellabels - the list of labels in the label imagepublic static final Point[] findPositionOfMaxValues(ij.process.ImageProcessor valueImage, ij.process.ImageProcessor labelImage, int[] labels)
labelImage and with maximal value in intensity
 image valueImage.valueImage - the intensity image containing values to comparelabelImage - the intensity image containing label of each pixellabels - the list of labels in the label imagepublic static final Cursor3D[] findPositionOfMaxValues(ij.ImageStack valueImage, ij.ImageStack labelImage, int[] labels)
labelImage and with maximal value in intensity
 image valueImage.valueImage - the intensity image containing values to comparelabelImage - the intensity image containing label of each pixellabels - the list of labels in the label imagepublic static final Point[] findPositionOfMinValues(ij.process.ImageProcessor valueImage, ij.process.ImageProcessor labelImage, int[] labels)
labelImage and with minimal value in intensity
 image valueImage.valueImage - the intensity image containing values to comparelabelImage - the intensity image containing label of each pixellabels - the list of labels in the label imagepublic static final Cursor3D[] findPositionOfMinValues(ij.ImageStack valueImage, ij.ImageStack labelImage, int[] labels)
labelImage and with minimal value in intensity
 image valueImage.valueImage - the intensity image containing values to comparelabelImage - the intensity image containing label of each pixellabels - the list of labels in the label imageCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.