Class BoofCVTransformer
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.plugin.AbstractToolPlugin<HeatmapPanel>
-
- adams.gui.visualization.heatmap.plugins.AbstractHeatmapViewerPlugin
-
- adams.gui.visualization.heatmap.plugins.AbstractSelectedHeatmapsViewerPlugin
-
- adams.gui.visualization.heatmap.plugins.AbstractSelectedHeatmapsViewerPluginWithGOE
-
- adams.gui.visualization.heatmap.plugins.AbstractApplyImageTransformer
-
- adams.gui.visualization.heatmap.plugins.BoofCVTransformer
-
- All Implemented Interfaces:
adams.core.logging.LoggingSupporter
,adams.core.SizeOfHandler
,Serializable
public class BoofCVTransformer extends AbstractApplyImageTransformer
Applies BoofCV transformers to the image directly.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.visualization.heatmap.plugins.AbstractSelectedHeatmapsViewerPluginWithGOE
m_Editor
-
Fields inherited from class adams.gui.visualization.heatmap.plugins.AbstractSelectedHeatmapsViewerPlugin
m_SelectedPanels
-
-
Constructor Summary
Constructors Constructor Description BoofCVTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createLogEntry()
Creates the log message.String
getCaption()
Returns the text for the menu item to create.protected Object
getDefaultValue()
Returns the default object to use in the GOE if no last setup is yet available.protected Class
getEditorType()
Returns the class to use as type (= superclass) in the GOE.String
getIconName()
Returns the icon name.String
getMenu()
Returns the text for the menu to place the plugin beneath.protected BufferedImage
process(BufferedImage image)
Processes the image.-
Methods inherited from class adams.gui.visualization.heatmap.plugins.AbstractApplyImageTransformer
process
-
Methods inherited from class adams.gui.visualization.heatmap.plugins.AbstractSelectedHeatmapsViewerPluginWithGOE
createConfigurationPanel, getCanChangeClassInDialog, hasApprovalButton, hasCancelButton, processInit
-
Methods inherited from class adams.gui.visualization.heatmap.plugins.AbstractSelectedHeatmapsViewerPlugin
canExecute, createDialog, createListPanel, doExecute, getAllPanels, getDialogSize, process, processFinish
-
Methods inherited from class adams.gui.visualization.heatmap.plugins.AbstractHeatmapViewerPlugin
doLog
-
Methods inherited from class adams.gui.plugin.AbstractToolPlugin
execute, getCanceledByUser, getIcon, getLastSetup, hasLastSetup, log, setLastSetup
-
-
-
-
Method Detail
-
getMenu
public String getMenu()
Returns the text for the menu to place the plugin beneath.- Overrides:
getMenu
in classadams.gui.plugin.AbstractToolPlugin<HeatmapPanel>
- Returns:
- the menu
-
getCaption
public String getCaption()
Returns the text for the menu item to create.- Specified by:
getCaption
in classadams.gui.plugin.AbstractToolPlugin<HeatmapPanel>
- Returns:
- the text
-
getIconName
public String getIconName()
Returns the icon name.- Overrides:
getIconName
in classadams.gui.plugin.AbstractToolPlugin<HeatmapPanel>
- Returns:
- the name, null if none available
-
getEditorType
protected Class getEditorType()
Returns the class to use as type (= superclass) in the GOE.- Specified by:
getEditorType
in classAbstractSelectedHeatmapsViewerPluginWithGOE
- Returns:
- the class
-
getDefaultValue
protected Object getDefaultValue()
Returns the default object to use in the GOE if no last setup is yet available.- Specified by:
getDefaultValue
in classAbstractSelectedHeatmapsViewerPluginWithGOE
- Returns:
- the object
-
createLogEntry
protected String createLogEntry()
Creates the log message.- Specified by:
createLogEntry
in classadams.gui.plugin.AbstractToolPlugin<HeatmapPanel>
- Returns:
- the message, null if none available
-
process
protected BufferedImage process(BufferedImage image)
Processes the image.- Specified by:
process
in classAbstractApplyImageTransformer
- Parameters:
image
- the image to filter- Returns:
- the processed image
-
-