|
||||||||||
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.segmentation.regions.mser.DetectMSERs
@ALDAOperator(genericExecutionMode=ALL, level=APPLICATION) public class DetectMSERs
Implementation of maximally stable extremal regions based on ImgLib2.
For details about the implementation and its parameters please refer to the corresponding documentation pages in the ImgLib2 Javadoc API.
Please note that currently only gray-scale images are supported. The implementation handles data up to 3D, i.e. x/y/z. Multiple channels and time steps are ignored, i.e. only the first channel and the first time step of an image is taken into account.
Related paper: Matas et al., Robust wide-baseline stereo from maximally stable extremal regions, Image and Vision Computing, vol. 22, no. 10, pp. 761-767, 2004.
Nested Class Summary | |
---|---|
static class |
DetectMSERs.Thresholding_Direction
Modes for direction of intensity thresholding. |
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 | |
---|---|
DetectMSERs()
Default constructor. |
Method Summary | |
---|---|
MTBRegionSetInterface |
getMSERs()
Returns set of detected MSERs. |
int |
getNumberOfMSERs()
Returns number of detected MSERs. |
protected void |
operate()
This method does the actual work. |
void |
setCreateBinaryMasks(boolean b)
Enable/disable creation of binary masks. |
void |
setDelta(double d)
Set distance between threshold images to be compared. |
void |
setInputImage(MTBImage img)
Set input image to process. |
void |
setMaximalInstabilityScore(double ms)
Set maximal instability score. |
void |
setMaximalSize(long ms)
Set maximal size of valid regions. |
void |
setMinimalDiversity(double md)
Set minimal diversity. |
void |
setMinimalSize(long ms)
Set minimal size of valid regions. |
void |
setThresholdingDirection(DetectMSERs.Thresholding_Direction td)
Set direction of threshold compuations. |
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 DetectMSERs() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail |
---|
public void setInputImage(MTBImage img)
img
- Image to process.public void setDelta(double d)
d
- Distance to be applied.public void setMinimalSize(long ms)
Regions smaller than the given threshold are discarded.
ms
- Minimal region size.public void setMaximalSize(long ms)
Regions larger than the given threshold are discarded.
ms
- Maximal region size.public void setMaximalInstabilityScore(double ms)
ms
- Maximal instability score.public void setMinimalDiversity(double md)
ms
- Minimal diversity allowed for valid regions.public void setThresholdingDirection(DetectMSERs.Thresholding_Direction td)
ms
- Direction of thresholding.public void setCreateBinaryMasks(boolean b)
b
- If true, masks are created, otherwise not.public int getNumberOfMSERs()
public MTBRegionSetInterface getMSERs()
Depending on the dimension of the input image either a set of 2D
or 3D regions is returned, i.e. the object is either of type
MTBRegion2DSet
or MTBRegion3DSet
.
protected void operate() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |