|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.MiToBo.core.operator.MTBOperator
de.unihalle.informatik.MiToBo.features.TileFeatureCalculator
@ALDAOperator(genericExecutionMode=ALL, level=APPLICATION, allowBatchMode=false) public class TileFeatureCalculator
Calculates features on images tile-wise, based on operators extending
FeatureCalculator
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
de.unihalle.informatik.Alida.operator.ALDOperator.HidingMode |
Field Summary |
---|
Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
---|
completeDAG, name, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider |
Constructor Summary | |
---|---|
TileFeatureCalculator()
Default constructor. |
|
TileFeatureCalculator(int _tileSizeX,
int _tileSizeY)
Constructor with non-default tile sizes. |
|
TileFeatureCalculator(int _tileSizeX,
int _tileSizeY,
int _tileShiftX,
int _tileShiftY)
Constructor with non-default tile sizes. |
Method Summary | |
---|---|
TileFeatureCalculatorResult |
getResult()
Get result data. |
MTBImage |
getResultImage()
Get image with result data. |
int |
getTileCountX()
Get number of tiles in x-direction. |
int |
getTileCountY()
Get number of tiles in x-direction. |
void |
operate()
|
void |
setFeatureOperators(Vector<FeatureCalculator> ops)
Set feature operators. |
void |
setInputImage(MTBImage img)
Set input image. |
void |
setMask(MTBImage exMask)
Set optional exclude mask. |
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, 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 |
Constructor Detail |
---|
public TileFeatureCalculator() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public TileFeatureCalculator(int _tileSizeX, int _tileSizeY) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
_tileSizeX
- Size of one tile in x direction._tileSizeY
- Size of one tile in y direction.
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public TileFeatureCalculator(int _tileSizeX, int _tileSizeY, int _tileShiftX, int _tileShiftY) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
_tileSizeX
- Size of one tile in x direction._tileSizeY
- Size of one tile in y direction.
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail |
---|
public void operate() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
public void setInputImage(MTBImage img)
img
- Image to process.public void setMask(MTBImage exMask)
exMask
- Exclude mask.public void setFeatureOperators(Vector<FeatureCalculator> ops)
ops
- Feature operators to apply.public TileFeatureCalculatorResult getResult()
public MTBImage getResultImage()
public int getTileCountX()
public int getTileCountY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |