Package net.haesleinhuepf.clij2.plugins
Class Scale2D
- java.lang.Object
-
- net.haesleinhuepf.clij.macro.AbstractCLIJPlugin
-
- net.haesleinhuepf.clij2.AbstractCLIJ2Plugin
-
- net.haesleinhuepf.clij2.plugins.Scale2D
-
- All Implemented Interfaces:
PlugInFilter,net.haesleinhuepf.clij.macro.CLIJMacroPlugin,net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor,net.haesleinhuepf.clij.macro.documentation.OffersDocumentation,HasClassifiedInputOutput,net.haesleinhuepf.clij2.utilities.IsCategorized,SciJavaPlugin
public class Scale2D extends AbstractCLIJ2Plugin implements net.haesleinhuepf.clij.macro.CLIJMacroPlugin, net.haesleinhuepf.clij.macro.CLIJOpenCLProcessor, net.haesleinhuepf.clij.macro.documentation.OffersDocumentation, net.haesleinhuepf.clij2.utilities.IsCategorized, HasClassifiedInputOutput
Author: @haesleinhuepf 12 2018
-
-
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 Scale2D()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecuteCL()StringgetAvailableForDimensions()StringgetCategories()Object[]getDefaultValues()StringgetDescription()StringgetInputType()StringgetOutputType()StringgetParameterHelpText()static booleanscale(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer input, net.haesleinhuepf.clij.clearcl.ClearCLBuffer output, Float factor)static booleanscale(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer input, net.haesleinhuepf.clij.clearcl.ClearCLBuffer output, Float factorX, Float factorY)static booleanscale2D(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer input, net.haesleinhuepf.clij.clearcl.ClearCLBuffer output, Float factorX, Float factorY)static booleanscale2D(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer input, net.haesleinhuepf.clij.clearcl.ClearCLBuffer output, Float factorX, Float factorY, boolean scaleAroundCenter)-
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, 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
-
getDefaultValues
public Object[] getDefaultValues()
- Overrides:
getDefaultValuesin classnet.haesleinhuepf.clij.macro.AbstractCLIJPlugin
-
executeCL
public boolean executeCL()
- Specified by:
executeCLin interfacenet.haesleinhuepf.clij.macro.CLIJOpenCLProcessor
-
scale
public static boolean scale(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer input, net.haesleinhuepf.clij.clearcl.ClearCLBuffer output, Float factor)
-
scale
public static boolean scale(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer input, net.haesleinhuepf.clij.clearcl.ClearCLBuffer output, Float factorX, Float factorY)
-
scale2D
public static boolean scale2D(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer input, net.haesleinhuepf.clij.clearcl.ClearCLBuffer output, Float factorX, Float factorY)
-
scale2D
public static boolean scale2D(CLIJ2 clij2, net.haesleinhuepf.clij.clearcl.ClearCLBuffer input, net.haesleinhuepf.clij.clearcl.ClearCLBuffer output, Float factorX, Float factorY, boolean scaleAroundCenter)
-
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
-
-