de.unihalle.informatik.MiToBo.features
Class FeatureCalculator

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDOperator
      extended by de.unihalle.informatik.MiToBo.core.operator.MTBOperator
          extended by de.unihalle.informatik.MiToBo.features.FeatureCalculator
All Implemented Interfaces:
de.unihalle.informatik.Alida.datatypes.ALDConfigurationValidator, de.unihalle.informatik.Alida.operator.events.ALDOperatorExecutionProgressEventListener, EventListener
Direct Known Subclasses:
FeatureCalculatorHaralickMeasures, FeatureCalculatorIntensityStats

public abstract class FeatureCalculator
extends MTBOperator

Super class for operators calculating features on images.

Operators extending this class are supposed to extract features from a given image. As result they should return an object of type FeatureCalculatorResult.

Author:
moeller

Nested Class Summary
 
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode
 
Field Summary
protected  MTBImage inImg
          Input image to calculate features for.
protected  FeatureCalculatorResult resultObj
          Result data object, e.g., an image, a histogram, a vector, ....
 
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider
 
Constructor Summary
protected FeatureCalculator()
          Default constructor.
 
Method Summary
 FeatureCalculatorResult getResultData()
          Returns result data object.
 void setInputImage(MTBImage input)
          Sets the input image to work on.
 
Methods inherited from class de.unihalle.informatik.MiToBo.core.operator.MTBOperator
readResolve
 
Methods inherited from class de.unihalle.informatik.Alida.operator.ALDOperator
addOperatorExecutionProgressEventListener, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getHidingMode, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterNames, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, isConfigured, operate, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, runOp, runOp, runOp, setConstructionMode, setHidingMode, setName, setParameter, 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

inImg

@Parameter(label="Input image",
           required=true,
           direction=IN,
           supplemental=false,
           description="Input image to analyze.",
           dataIOOrder=-10)
protected transient MTBImage inImg
Input image to calculate features for.


resultObj

@Parameter(label="Result data",
           direction=OUT,
           description="Result of feature calculation.")
protected transient FeatureCalculatorResult resultObj
Result data object, e.g., an image, a histogram, a vector, ....

Constructor Detail

FeatureCalculator

protected FeatureCalculator()
                     throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Default constructor.

Throws:
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail

setInputImage

public void setInputImage(MTBImage input)
Sets the input image to work on.

Parameters:
input - Image to work on.

getResultData

public FeatureCalculatorResult getResultData()
Returns result data object.

Returns:
Result data.


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.