Package adams.data.boofcv.transformer
Class AbstractBoofCVTransformer
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.image.AbstractImageTransformer<BoofCVImageContainer>
-
- adams.data.boofcv.transformer.AbstractBoofCVTransformer
-
- All Implemented Interfaces:
CleanUpHandler
,Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,QuickInfoSupporter
,SizeOfHandler
,ImageTransformer<BoofCVImageContainer>
,FlowContextHandler
,Serializable
,Comparable
- Direct Known Subclasses:
AbstractScript
,AbstractScriptedTransformer
,Binary
,BinaryContours
,CannyEdgeDetection
,Dilate4
,Dilate8
,Erode4
,Erode8
,Gray8
,ImageType
,Inverter
,MultiTransformer
,PassThrough
,Sharpen4
,Sharpen8
,SuperPixels
,WaveletDenoise
public abstract class AbstractBoofCVTransformer extends AbstractImageTransformer<BoofCVImageContainer>
Abstract base class for BoofCV transformations.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.image.AbstractImageTransformer
m_FlowContext
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractBoofCVTransformer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractBoofCVTransformer
forCommandLine(String cmdline)
Instantiates the transformation from the given commandline (i.e., classname and optional options).static AbstractBoofCVTransformer
forName(String classname, String[] options)
Instantiates the transformation with the given options.static String[]
getTransformations()
Returns a list with classnames of transformations.-
Methods inherited from class adams.data.image.AbstractImageTransformer
checkImage, cleanUp, compareTo, destroy, doTransform, equals, getFlowContext, getQuickInfo, initialize, setFlowContext, shallowCopy, shallowCopy, transform
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
getTransformations
public static String[] getTransformations()
Returns a list with classnames of transformations.- Returns:
- the transformation classnames
-
forName
public static AbstractBoofCVTransformer forName(String classname, String[] options)
Instantiates the transformation with the given options.- Parameters:
classname
- the classname of the transformation to instantiateoptions
- the options for the transformation- Returns:
- the instantiated transformation or null if an error occurred
-
forCommandLine
public static AbstractBoofCVTransformer forCommandLine(String cmdline)
Instantiates the transformation from the given commandline (i.e., classname and optional options).- Parameters:
cmdline
- the classname (and optional options) of the transformation to instantiate- Returns:
- the instantiated transformation or null if an error occurred
-
-