Package net.haesleinhuepf.clij2.plugins
Class GetAutomaticThreshold
- java.lang.Object
-
- net.haesleinhuepf.clij.macro.AbstractCLIJPlugin
-
- net.haesleinhuepf.clij2.AbstractCLIJ2Plugin
-
- net.haesleinhuepf.clij2.plugins.GetAutomaticThreshold
-
- All Implemented Interfaces:
PlugInFilter,net.haesleinhuepf.clij.macro.CLIJMacroPlugin,net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor,net.haesleinhuepf.clij.macro.documentation.OffersDocumentation,net.haesleinhuepf.clij2.utilities.HasAuthor,net.haesleinhuepf.clij2.utilities.HasLicense,net.haesleinhuepf.clij2.utilities.IsCategorized,SciJavaPlugin
public class GetAutomaticThreshold extends AbstractCLIJ2Plugin implements net.haesleinhuepf.clij.macro.CLIJMacroPlugin, net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor, net.haesleinhuepf.clij.macro.documentation.OffersDocumentation, net.haesleinhuepf.clij2.utilities.HasAuthor, net.haesleinhuepf.clij2.utilities.HasLicense, net.haesleinhuepf.clij2.utilities.IsCategorized
AutomaticThresholdAuthor: @haesleinhuepf January 2019
-
-
Field Summary
-
Fields inherited from class net.haesleinhuepf.clij.macro.AbstractCLIJPlugin
args, clij, default_values, name
-
Fields inherited from interface ij.plugin.filter.PlugInFilter
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 Summary
Constructors Constructor Description GetAutomaticThreshold()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecuteCL()StringgetAuthorName()static doublegetAutomaticThreshold(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, String userSelectedMethod)static doublegetAutomaticThreshold(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, String userSelectedMethod, Float minimumGreyValue, Float maximumGreyValue, Integer numberOfBins)StringgetAvailableForDimensions()StringgetCategories()StringgetDescription()StringgetLicense()StringgetParameterHelpText()-
Methods inherited from class net.haesleinhuepf.clij2.AbstractCLIJ2Plugin
getCLIJ2, setClij, setCLIJ2
-
Methods inherited from class net.haesleinhuepf.clij.macro.AbstractCLIJPlugin
asBoolean, asFloat, asInteger, containsCLBufferArguments, containsCLImageArguments, createOutputBufferFromSource, getDefaultValues, getImageVariableName, getName, imageJ2Args, imageJArgs, openCLBufferArgs, openCLImageArgs, releaseBuffers, releaseImages, run, setArgs, setup
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
executeCL
public boolean executeCL()
- Specified by:
executeCLin interfacenet.haesleinhuepf.clij.macro.CLIJOpenCLProcessor
-
getAutomaticThreshold
public static double getAutomaticThreshold(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, String userSelectedMethod)
-
getAutomaticThreshold
public static double getAutomaticThreshold(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, String userSelectedMethod, Float minimumGreyValue, Float maximumGreyValue, Integer numberOfBins)
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfacenet.haesleinhuepf.clij.macro.documentation.OffersDocumentation
-
getParameterHelpText
public String getParameterHelpText()
- Specified by:
getParameterHelpTextin interfacenet.haesleinhuepf.clij.macro.CLIJMacroPlugin
-
getAvailableForDimensions
public String getAvailableForDimensions()
- Specified by:
getAvailableForDimensionsin interfacenet.haesleinhuepf.clij.macro.documentation.OffersDocumentation
-
getAuthorName
public String getAuthorName()
- Specified by:
getAuthorNamein interfacenet.haesleinhuepf.clij2.utilities.HasAuthor
-
getLicense
public String getLicense()
- Specified by:
getLicensein interfacenet.haesleinhuepf.clij2.utilities.HasLicense
-
getCategories
public String getCategories()
- Specified by:
getCategoriesin interfacenet.haesleinhuepf.clij2.utilities.IsCategorized
-
-