Package net.haesleinhuepf.clij.macro
Class AbstractCLIJPlugin
- java.lang.Object
-
- net.haesleinhuepf.clij.macro.AbstractCLIJPlugin
-
- All Implemented Interfaces:
PlugInFilter,CLIJMacroPlugin,SciJavaPlugin
- Direct Known Subclasses:
Absolute,AddImageAndScalar,AddImages,AddImagesWeighted,AffineTransform2D,AffineTransform3D,ApplyVectorField2D,ApplyVectorField3D,ArgMaximumZProjection,AutomaticThreshold,BinaryAnd,BinaryNot,BinaryOr,BinaryXOr,Blur2D,Blur3D,Blur3DSliceBySlice,CenterOfMass,Clear,ClInfo,ConvertFloat,ConvertUInt16,ConvertUInt8,Copy,CopySlice,CountNonZeroPixels2DSphere,CountNonZeroPixelsSliceBySliceSphere,CountNonZeroVoxels3DSphere,Create2D,Create3D,Crop2D,Crop3D,DetectMaximaBox,DetectMaximaSliceBySliceBox,DetectMinimaBox,DetectMinimaSliceBySliceBox,DilateBox,DilateBoxSliceBySlice,DilateSphere,DilateSphereSliceBySlice,DivideImages,Downsample2D,Downsample3D,DownsampleSliceBySliceHalfMedian,ErodeBox,ErodeBoxSliceBySlice,ErodeSphere,ErodeSphereSliceBySlice,Flip2D,Flip3D,GradientX,GradientY,GradientZ,Help,Histogram,Invert,LocalThreshold,Mask,MaskStackWithPlane,Maximum2DBox,Maximum2DSphere,Maximum3DBox,Maximum3DSphere,MaximumImageAndScalar,MaximumImages,MaximumOfAllPixels,MaximumSliceBySliceSphere,MaximumXYZProjection,MaximumZProjection,Mean2DBox,Mean2DSphere,Mean3DBox,Mean3DSphere,MeanOfAllPixels,MeanSliceBySliceSphere,MeanZProjection,Median2DBox,Median2DSphere,Median3DBox,Median3DSphere,MedianSliceBySliceBox,MedianSliceBySliceSphere,Minimum2DBox,Minimum2DSphere,Minimum3DBox,Minimum3DSphere,MinimumImageAndScalar,MinimumImages,MinimumOfAllPixels,MinimumSliceBySliceSphere,MinimumZProjection,MultiplyImageAndScalar,MultiplyImages,MultiplyStackWithPlane,Power,Pull,PullBinary,Push,PushCurrentSlice,PushCurrentZStack,Release,ReportMemory,ResliceBottom,ResliceLeft,ResliceRadial,ResliceRight,ResliceTop,Rotate2D,Rotate3D,RotateLeft,RotateRight,Scale2D,Scale3D,Set,SubtractImages,SumOfAllPixels,SumZProjection,Threshold,Translate2D,Translate3D
public abstract class AbstractCLIJPlugin extends Object implements PlugInFilter, CLIJMacroPlugin
AbstractCLIJPluginAuthor: @haesleinhuepf December 2018
-
-
Field Summary
Fields Modifier and Type Field Description protected Object[]argsprotected net.haesleinhuepf.clij.CLIJclijprotected static Object[]default_valuesprotected Stringname-
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 AbstractCLIJPlugin()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BooleanasBoolean(Object object)static FloatasFloat(Object number)static IntegerasInteger(Object number)protected booleancontainsCLBufferArguments()Deprecated.protected booleancontainsCLImageArguments()Deprecated.net.haesleinhuepf.clij.clearcl.ClearCLBuffercreateOutputBufferFromSource(net.haesleinhuepf.clij.clearcl.ClearCLBuffer input)Object[]getDefaultValues()protected StringgetImageVariableName(String destinationName)StringgetName()protected Object[]imageJ2Args()Deprecated.protected Object[]imageJArgs()Deprecated.protected Object[]openCLBufferArgs()Deprecated.protected Object[]openCLImageArgs()Deprecated.protected voidreleaseBuffers(Object[] args)Deprecated.protected voidreleaseImages(Object[] args)Deprecated.voidrun(ImageProcessor ip)voidsetArgs(Object[] args)voidsetClij(net.haesleinhuepf.clij.CLIJ clij)intsetup(String arg, ImagePlus imp)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.haesleinhuepf.clij.macro.CLIJMacroPlugin
getParameterHelpText
-
-
-
-
Method Detail
-
setClij
public void setClij(net.haesleinhuepf.clij.CLIJ clij)
- Specified by:
setClijin interfaceCLIJMacroPlugin
-
setArgs
public void setArgs(Object[] args)
- Specified by:
setArgsin interfaceCLIJMacroPlugin
-
imageJArgs
@Deprecated protected Object[] imageJArgs()
Deprecated.
-
openCLBufferArgs
@Deprecated protected Object[] openCLBufferArgs()
Deprecated.
-
openCLImageArgs
@Deprecated protected Object[] openCLImageArgs()
Deprecated.
-
imageJ2Args
@Deprecated protected Object[] imageJ2Args()
Deprecated.
-
containsCLImageArguments
@Deprecated protected boolean containsCLImageArguments()
Deprecated.
-
releaseImages
@Deprecated protected void releaseImages(Object[] args)
Deprecated.
-
releaseBuffers
@Deprecated protected void releaseBuffers(Object[] args)
Deprecated.
-
containsCLBufferArguments
@Deprecated protected boolean containsCLBufferArguments()
Deprecated.
-
createOutputBufferFromSource
public net.haesleinhuepf.clij.clearcl.ClearCLBuffer createOutputBufferFromSource(net.haesleinhuepf.clij.clearcl.ClearCLBuffer input)
- Specified by:
createOutputBufferFromSourcein interfaceCLIJMacroPlugin
-
setup
public int setup(String arg, ImagePlus imp)
- Specified by:
setupin interfacePlugInFilter
-
run
public void run(ImageProcessor ip)
- Specified by:
runin interfacePlugInFilter
-
getDefaultValues
public Object[] getDefaultValues()
-
getName
public String getName()
- Specified by:
getNamein interfaceCLIJMacroPlugin
-
-