Modifier and Type | Field and Description |
---|---|
static int |
CLOSE |
static int[] |
constitems |
static int |
DILATE |
StructureElement |
down_se |
static int |
ERODE |
static int |
FCLOSE |
static int |
FDILATE |
static int |
FERODE |
static int |
FOPEN |
String |
kernelText |
StructureElement |
minus_se |
static String[] |
morphitems |
static int |
OPEN |
StructureElement |
plus_se |
StructureElement |
se |
static String[] |
strelitems |
StructureElement |
up_se |
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 |
---|
GrayMorphology_() |
Modifier and Type | Method and Description |
---|---|
int[] |
Abs(int[] arr)
Calculates the absolute value of an array
|
ij.process.ByteProcessor |
getMask(ij.process.ByteProcessor ip,
Rectangle r) |
void |
Log(int[][] a)
Logs array
|
static void |
main(String[] args) |
void |
run(ij.process.ImageProcessor ip)
principal method of the plugin
does the actual job
|
static void |
savePreferences(Properties prefs) |
int |
setup(String arg,
ij.ImagePlus imp) |
void |
showStrEl(StructureElement strel,
String Title) |
public String kernelText
public StructureElement se
public StructureElement minus_se
public StructureElement plus_se
public StructureElement down_se
public StructureElement up_se
public static final String[] strelitems
public static final int[] constitems
public static final String[] morphitems
public static final int ERODE
public static final int DILATE
public static final int OPEN
public static final int CLOSE
public static final int FERODE
public static final int FDILATE
public static final int FOPEN
public static final int FCLOSE
public int setup(String arg, ij.ImagePlus imp)
setup
in interface ij.plugin.filter.PlugInFilter
public static void main(String[] args)
public void showStrEl(StructureElement strel, String Title)
strel
- Title
- public int[] Abs(int[] arr)
arr
- array of int[]public ij.process.ByteProcessor getMask(ij.process.ByteProcessor ip, Rectangle r)
public void run(ij.process.ImageProcessor ip)
run
in interface ij.plugin.filter.PlugInFilter
ip
- the ImageProcessorpublic static void savePreferences(Properties prefs)
public void Log(int[][] a)
a
- the arrayCopyright © 2015–2021 Fiji. All rights reserved.