JavaScript is disabled on your browser.
java.lang.Object
de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.MiToBo.core.dataconverter.MTBImageConverter
All Implemented Interfaces:
de.unihalle.informatik.Alida.dataconverter.ALDDataConverter, de.unihalle.informatik.Alida.datatypes.ALDConfigurationValidator, de.unihalle.informatik.Alida.operator.events.ALDOperatorExecutionProgressEventListener, EventListener
@ALDDataConverterProvider
public class MTBImageConverter
extends de.unihalle.informatik.Alida.operator.ALDOperator
implements de.unihalle.informatik.Alida.dataconverter.ALDDataConverter
Convert a MTBImage to any other image and any image type to a MTBImage.
Otherwise we refuse to convert a MTBImageRGB to another type or
vice verse a non MTBImageRGB to a MTBImageRGB
Author:
posch
Nested Class Summary
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode, de.unihalle.informatik.Alida.operator.ALDOperator.HistoryConstructionMode
Field Summary
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider
Fields inherited from interface de.unihalle.informatik.Alida.dataconverter.ALDDataConverter
providesMethodName
Method Summary
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
addOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getDocumentation, getHidingMode, getInactiveParameterNames, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterDescriptorUnconditioned, getParameterNames, getParameterUnconditioned, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, hasInOutParameters, hasParameter, isAnnotatedParameter, isConfigured, print, print, print, printInterface, printInterface, readHistory, readResolve, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Field Detail
debug
private boolean debug
sourceObject
@Parameter(label="Source Object",
required=true,
direction=IN,
supplemental=false,
description="Source object to convert")
MTBImage sourceObject
targetClass
@Parameter(label="Target Class",
required=true,
direction=IN,
supplemental=false,
description="Class of target object")
Class <?> targetClass
targetObject
@Parameter(label="Target Object",
direction=OUT,
supplemental=false,
description="Target object ")
MTBImage targetObject
Method Detail
supportConversion
public boolean supportConversion(Class <?> sourceClass,
Type [] sourceTypes,
Class <?> targetClass,
Type [] targetTypes)
Specified by:
supportConversion
in interface de.unihalle.informatik.Alida.dataconverter.ALDDataConverter
convert
public Object convert(Object sourceObject,
Type [] sourceTypes,
Class <?> targetClass,
Type [] targetTypes)
throws de.unihalle.informatik.Alida.exceptions.ALDDataConverterException
Specified by:
convert
in interface de.unihalle.informatik.Alida.dataconverter.ALDDataConverter
Throws:
de.unihalle.informatik.Alida.exceptions.ALDDataConverterException
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics . All rights reserved.