Class MultiFilter
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.imagesegmentation.filter.AbstractImageSegmentationContainerFilter
-
- adams.data.imagesegmentation.filter.MultiFilter
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,SizeOfHandler,Serializable
public class MultiFilter extends AbstractImageSegmentationContainerFilter
Applies the base filters sequentially.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractImageSegmentationContainerFilter[]m_Filtersthe base filters.-
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 MultiFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.protected ImageSegmentationContainerdoFilter(ImageSegmentationContainer cont)Performs the filtering of the container.StringfiltersTipText()Returns the tip text for this property.AbstractImageSegmentationContainerFilter[]getFilters()Returns the filters to apply sequentially.StringglobalInfo()Returns a string describing the object.voidsetFilters(AbstractImageSegmentationContainerFilter[] value)Sets the filters to apply sequentially.-
Methods inherited from class adams.data.imagesegmentation.filter.AbstractImageSegmentationContainerFilter
check, filter
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_Filters
protected AbstractImageSegmentationContainerFilter[] m_Filters
the base filters.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
setFilters
public void setFilters(AbstractImageSegmentationContainerFilter[] value)
Sets the filters to apply sequentially.- Parameters:
value- the filters
-
getFilters
public AbstractImageSegmentationContainerFilter[] getFilters()
Returns the filters to apply sequentially.- Returns:
- the filters
-
filtersTipText
public String filtersTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
doFilter
protected ImageSegmentationContainer doFilter(ImageSegmentationContainer cont)
Performs the filtering of the container.- Specified by:
doFilterin classAbstractImageSegmentationContainerFilter- Parameters:
cont- the container to filter- Returns:
- the filtered container
-
-