public class InterfaceSurfaceArea extends Object
Constructor and Description |
---|
InterfaceSurfaceArea()
Default empty constructor.
|
InterfaceSurfaceArea(int nDirs)
Constructor that specifies the number of directions to use.
|
Modifier and Type | Method and Description |
---|---|
double |
process(ij.ImageStack stack,
int label1,
int label2,
ij.measure.Calibration calib)
Computes the interface surface area between two regions.
|
void |
setDirectionNumber(int nDirs)
Specifies the number of directions to use.
|
public InterfaceSurfaceArea()
public InterfaceSurfaceArea(int nDirs)
nDirs
- the number of directions to use (either 3 or 13).public void setDirectionNumber(int nDirs)
nDirs
- the number of directions to use (either 3 or 13).public double process(ij.ImageStack stack, int label1, int label2, ij.measure.Calibration calib)
stack
- the 3D input imagelabel1
- the label of the first regionlabel2
- the label of the second regioncalib
- the spatial calibration of imageCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.