|
||||||||||
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.morphology.BasicMorphology
@ALDAOperator(genericExecutionMode=ALL, level=APPLICATION) @ALDMetaInfo(export=MANDATORY) public class BasicMorphology
class implementing basic morphological operations (for use with grayscale as well as with binary images)
Nested Class Summary | |
---|---|
static class |
BasicMorphology.maskShape
|
static class |
BasicMorphology.opMode
|
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 | |
---|---|
BasicMorphology()
|
|
BasicMorphology(Integer _maskSize,
BasicMorphology.opMode _mode,
BasicMorphology.maskShape _shape)
Constructor to create new BasicMorphology object with mask size, mode and shape of the structuring element. |
|
BasicMorphology(MTBImage inImg,
MTBStructuringElement mask)
|
Method Summary | |
---|---|
MTBImage |
getResultImage()
|
void |
operate()
|
void |
setInImg(MTBImage _inImg)
Set input image for morphological operation. |
void |
setMask(BasicMorphology.maskShape shape,
int size)
|
void |
setMask(MTBStructuringElement mask)
|
void |
setMode(BasicMorphology.opMode mode)
|
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 BasicMorphology() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public BasicMorphology(MTBImage inImg, MTBStructuringElement mask) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
inImg
- input imagemask
- structuring element used for the morphological operation
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public BasicMorphology(Integer _maskSize, BasicMorphology.opMode _mode, BasicMorphology.maskShape _shape) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
_maskSize
- size of structuring element used for the morphological operation_mode
- mode of morphological operation_shape
- shape of structuring element used for the morphological operation
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail |
---|
public void setInImg(MTBImage _inImg)
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 setMode(BasicMorphology.opMode mode)
mode
- morphological operation to applypublic void setMask(BasicMorphology.maskShape shape, int size)
public void setMask(MTBStructuringElement mask)
mask
- structuring element to usepublic MTBImage getResultImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |