Package net.haesleinhuepf.clij2.plugins
Class Histogram
- java.lang.Object
-
- net.haesleinhuepf.clij.macro.AbstractCLIJPlugin
-
- net.haesleinhuepf.clij2.AbstractCLIJ2Plugin
-
- net.haesleinhuepf.clij2.plugins.Histogram
-
- 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,HasClassifiedInputOutput,net.haesleinhuepf.clij2.utilities.HasLicense,net.haesleinhuepf.clij2.utilities.IsCategorized,SciJavaPlugin
public class Histogram extends AbstractCLIJ2Plugin implements net.haesleinhuepf.clij.macro.CLIJMacroPlugin, net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor, net.haesleinhuepf.clij.macro.documentation.OffersDocumentation, net.haesleinhuepf.clij2.utilities.HasLicense, net.haesleinhuepf.clij2.utilities.HasAuthor, net.haesleinhuepf.clij2.utilities.IsCategorized, HasClassifiedInputOutput
Author: @haesleinhuepf December 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 Histogram()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description net.haesleinhuepf.clij.clearcl.ClearCLBuffercreateOutputBufferFromSource(net.haesleinhuepf.clij.clearcl.ClearCLBuffer input)booleanexecuteCL()static booleanfillHistogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, net.haesleinhuepf.clij.clearcl.ClearCLBuffer dstHistogram, Float minimumGreyValue, Float maximumGreyValue)Deprecated.StringgetAuthorName()StringgetAvailableForDimensions()StringgetCategories()StringgetDescription()StringgetInputType()StringgetLicense()StringgetOutputType()StringgetParameterHelpText()static net.haesleinhuepf.clij.clearcl.ClearCLBufferhistogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src)static float[]histogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer image, Float minGreyValue, Float maxGreyValue, Integer numberOfBins)static booleanhistogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, net.haesleinhuepf.clij.clearcl.ClearCLBuffer histogram)static booleanhistogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, net.haesleinhuepf.clij.clearcl.ClearCLBuffer histogram, Integer numberOfBins, Float minimumGreyValue, Float maximumGreyValue, Boolean determineMinMax)static booleanhistogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, net.haesleinhuepf.clij.clearcl.ClearCLBuffer histogram, Integer numberOfBins, Float minimumGreyValue, Float maximumGreyValue, Boolean determineMinMax, boolean showTable)-
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, 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
-
getInputType
public String getInputType()
- Specified by:
getInputTypein interfaceHasClassifiedInputOutput
-
getOutputType
public String getOutputType()
- Specified by:
getOutputTypein interfaceHasClassifiedInputOutput
-
getCategories
public String getCategories()
- Specified by:
getCategoriesin interfacenet.haesleinhuepf.clij2.utilities.IsCategorized
-
executeCL
public boolean executeCL()
- Specified by:
executeCLin interfacenet.haesleinhuepf.clij.macro.CLIJOpenCLProcessor
-
histogram
public static float[] histogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer image, Float minGreyValue, Float maxGreyValue, Integer numberOfBins)
-
histogram
public static boolean histogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, net.haesleinhuepf.clij.clearcl.ClearCLBuffer histogram)
-
histogram
public static net.haesleinhuepf.clij.clearcl.ClearCLBuffer histogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src)
-
histogram
public static boolean histogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, net.haesleinhuepf.clij.clearcl.ClearCLBuffer histogram, Integer numberOfBins, Float minimumGreyValue, Float maximumGreyValue, Boolean determineMinMax)
-
histogram
public static boolean histogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, net.haesleinhuepf.clij.clearcl.ClearCLBuffer histogram, Integer numberOfBins, Float minimumGreyValue, Float maximumGreyValue, Boolean determineMinMax, boolean showTable)
-
fillHistogram
@Deprecated public static boolean fillHistogram(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer src, net.haesleinhuepf.clij.clearcl.ClearCLBuffer dstHistogram, Float minimumGreyValue, Float maximumGreyValue)
Deprecated.use histogram instead
-
getParameterHelpText
public String getParameterHelpText()
- Specified by:
getParameterHelpTextin interfacenet.haesleinhuepf.clij.macro.CLIJMacroPlugin
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfacenet.haesleinhuepf.clij.macro.documentation.OffersDocumentation
-
getAvailableForDimensions
public String getAvailableForDimensions()
- Specified by:
getAvailableForDimensionsin interfacenet.haesleinhuepf.clij.macro.documentation.OffersDocumentation
-
createOutputBufferFromSource
public net.haesleinhuepf.clij.clearcl.ClearCLBuffer createOutputBufferFromSource(net.haesleinhuepf.clij.clearcl.ClearCLBuffer input)
- Specified by:
createOutputBufferFromSourcein interfacenet.haesleinhuepf.clij.macro.CLIJMacroPlugin- Overrides:
createOutputBufferFromSourcein classnet.haesleinhuepf.clij.macro.AbstractCLIJPlugin
-
getAuthorName
public String getAuthorName()
- Specified by:
getAuthorNamein interfacenet.haesleinhuepf.clij2.utilities.HasAuthor
-
getLicense
public String getLicense()
- Specified by:
getLicensein interfacenet.haesleinhuepf.clij2.utilities.HasLicense
-
-