public class MicrostructureAnalysisPlugin extends Object implements ij.plugin.filter.PlugInFilter
Modifier and Type | Field and Description |
---|---|
boolean |
debug
When this options is set to true, information messages are displayed on
the console, and the number of counts for each direction is included in
results table.
|
static String[] |
dirNumberLabels
List of available numbers of directions
|
static int[] |
dirNumbers
Array of weights, in the same order than the array of names.
|
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, NO_UNDO_RESET, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
Constructor and Description |
---|
MicrostructureAnalysisPlugin() |
Modifier and Type | Method and Description |
---|---|
Object[] |
exec(ij.ImagePlus image,
int nDirs)
Deprecated.
specify porosity
|
Object[] |
exec(ij.ImagePlus image,
int nDirs,
boolean addPorosity)
Deprecated.
use process method instead
|
ij.measure.ResultsTable |
process(ij.ImagePlus image,
int nDirs,
boolean addPorosity)
Main body of the plugin.
|
void |
run(ij.process.ImageProcessor ip) |
int |
setup(String arg,
ij.ImagePlus imp) |
public static final String[] dirNumberLabels
public static final int[] dirNumbers
public boolean debug
public int setup(String arg, ij.ImagePlus imp)
setup
in interface ij.plugin.filter.PlugInFilter
public void run(ij.process.ImageProcessor ip)
run
in interface ij.plugin.filter.PlugInFilter
@Deprecated public Object[] exec(ij.ImagePlus image, int nDirs)
image
- the image to processnDirs
- the number of directions to consider, either 2 or 4@Deprecated public Object[] exec(ij.ImagePlus image, int nDirs, boolean addPorosity)
image
, using nDirs
discrete
directions. If the addPorosity flag is set to true, an additional column
equal to 1-area density is added.image
- the image to processnDirs
- the number of directions to consider, either 2 or 4addPorosity
- specifies if porosity should be computedpublic ij.measure.ResultsTable process(ij.ImagePlus image, int nDirs, boolean addPorosity)
image
, using nDirs
discrete
directions. If the addPorosity flag is set to true, an additional column
equal to 1-area density is added.image
- the image to processnDirs
- the number of directions to consider, either 2 or 4addPorosity
- specifies if porosity should be computedCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.