Package net.haesleinhuepf.clij2.plugins
Class StatisticsOfLabelledPixels
- java.lang.Object
-
- net.haesleinhuepf.clij.macro.AbstractCLIJPlugin
-
- net.haesleinhuepf.clij2.AbstractCLIJ2Plugin
-
- net.haesleinhuepf.clij2.plugins.StatisticsOfLabelledPixels
-
- All Implemented Interfaces:
PlugInFilter,net.haesleinhuepf.clij.macro.CLIJMacroPlugin,net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor,net.haesleinhuepf.clij.macro.documentation.OffersDocumentation,net.haesleinhuepf.clij2.utilities.IsCategorized,SciJavaPlugin
public class StatisticsOfLabelledPixels extends AbstractCLIJ2Plugin implements net.haesleinhuepf.clij.macro.CLIJMacroPlugin, net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor, net.haesleinhuepf.clij.macro.documentation.OffersDocumentation, net.haesleinhuepf.clij2.utilities.IsCategorized
Author: @haesleinhuepf September 2019 in Prague
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatisticsOfLabelledPixels.STATISTICS_ENTRY
-
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 StatisticsOfLabelledPixels()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecuteCL()StringgetAvailableForDimensions()StringgetCategories()StringgetDescription()StringgetParameterHelpText()static double[][]statisticsOfLabelledPixels(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap)static ResultsTablestatisticsOfLabelledPixels(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap, ResultsTable resultsTable)static double[]statisticsOfLabelledPixels(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap, Integer labelIndex)static double[][]statisticsOfLabelledPixels(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap, Integer startLabelIndex, Integer endLabelIndex)static double[][]statisticsOfLabelledPixels_single_threaded(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap, Integer startLabelIndex, Integer endLabelIndex)-
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
-
getCategories
public String getCategories()
- Specified by:
getCategoriesin interfacenet.haesleinhuepf.clij2.utilities.IsCategorized
-
executeCL
public boolean executeCL()
- Specified by:
executeCLin interfacenet.haesleinhuepf.clij.macro.CLIJOpenCLProcessor
-
statisticsOfLabelledPixels
public static ResultsTable statisticsOfLabelledPixels(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap, ResultsTable resultsTable)
-
statisticsOfLabelledPixels
public static double[][] statisticsOfLabelledPixels(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap)
-
statisticsOfLabelledPixels
public static double[] statisticsOfLabelledPixels(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap, Integer labelIndex)
-
statisticsOfLabelledPixels
public static double[][] statisticsOfLabelledPixels(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap, Integer startLabelIndex, Integer endLabelIndex)
-
statisticsOfLabelledPixels_single_threaded
public static double[][] statisticsOfLabelledPixels_single_threaded(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputImage, net.haesleinhuepf.clij.clearcl.ClearCLBuffer inputLabelMap, Integer startLabelIndex, Integer endLabelIndex)
-
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
-
-