| Constructor and Description | 
|---|
BinaryConfigurationsHistogram2D()
Default empty constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static double[] | 
applyLut(int[][] histograms,
        double[] lut)
Applies look-up-table of values for each configuration for each label,
 based on the 16-array of count for each binary configuration. 
 | 
static int[] | 
applyLut(int[][] histograms,
        int[] lut)
Applies look-up-table of values for each configuration for each label,
 based on the 16-array of count for each binary configuration. 
 | 
static double | 
applyLut(int[] histogram,
        double[] lut)
Applies look-up-table of values for each configuration, based on the
 array of count for each binary configuration. 
 | 
static int | 
applyLut(int[] histogram,
        int[] lut)
Applies look-up-table of values for each configuration, based on the
 array of count for each binary configuration. 
 | 
int[] | 
process(ij.process.ImageProcessor binaryImage)
Computes the histogram of binary configurations for the region within the
 input binary image. 
 | 
int[][] | 
process(ij.process.ImageProcessor labelImage,
       int[] labels)
Computes the histogram of binary configurations for each region of the
 input label image. 
 | 
int[] | 
processInnerFrame(ij.process.ImageProcessor binaryImage)
Applies a look-up-table for each of the 2x2 pixel configurations
 with all pixels within the input binary image, and returns the
 sum of contributions for each label. 
 | 
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerpublic BinaryConfigurationsHistogram2D()
public static final double applyLut(int[] histogram,
                                    double[] lut)
histogram - the count of each type of 2-by-2 binary configurations, as an
            arraylut - the value to associate to each configurationpublic static final int applyLut(int[] histogram,
                                 int[] lut)
histogram - the count of each type of 2-by-2 binary configurations, as an
            arraylut - the value to associate to each configurationpublic static final double[] applyLut(int[][] histograms,
                                      double[] lut)
histograms - the count of each type of 2-by-2 binary configuration of each
            label, as a nLabels-by-16 arraylut - the value to associate to each configurationpublic static final int[] applyLut(int[][] histograms,
                                   int[] lut)
histograms - the count of each type of 2-by-2 binary configuration of each
            label, as a nLabels-by-16 arraylut - the value to associate to each configurationpublic int[] process(ij.process.ImageProcessor binaryImage)
binaryImage - the input image containing the region the analyzeprocessInnerFrame(ImageProcessor)public int[] processInnerFrame(ij.process.ImageProcessor binaryImage)
binaryImage - the input 2D binary imageprocess(ImageProcessor)public int[][] process(ij.process.ImageProcessor labelImage,
                       int[] labels)
labelImage - the input image containing region labelslabels - the list of region labelsCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.