| Constructor and Description | 
|---|
BinaryConfigurationsHistogram3D()
Empty constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static double[] | 
applyLut(int[][] histograms,
        double[] lut)
Applies look-up-table of values for each configuration of each region,
 based on the 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. 
 | 
int[] | 
process(ij.ImageStack image)
Applies a look-up-table for each of the 2x2x2 voxel configurations
 containing at least one voxel of the input binary image, and returns the
 sum of contributions for each label. 
 | 
int[][] | 
process(ij.ImageStack image,
       int[] labels)
Applies a look-up-table for each of the 2x2x2 voxel configurations
 containing at least one voxel of the input image, and returns the sum of
 contributions for each label. 
 | 
int[] | 
processInnerFrame(ij.ImageStack image)
Applies a look-up-table for each of the 2x2x2 voxel configurations
 with all voxels within the input binary image, and returns the
 sum of contributions for each label. 
 | 
addAlgoListener, fireProgressChanged, fireProgressChanged, fireStatusChanged, fireStatusChanged, removeAlgoListenerpublic BinaryConfigurationsHistogram3D()
public static final double applyLut(int[] histogram,
                                    double[] lut)
histogram - the count of each type of 2-by-2-by-2 binary configurations,
            as a 256 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-by-2 binary configurations,
            as a 256 arraylut - the value to associate to each configurationpublic int[] process(ij.ImageStack image)
image - the input 3D binary imagepublic int[] processInnerFrame(ij.ImageStack image)
image - the input 3D binary imageprocess(ImageStack)public int[][] process(ij.ImageStack image,
                       int[] labels)
image - the input 3D image of labelslabels - the set of labels to processprocessInnerFrame(ImageStack)Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.