|
||||||||||
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.thresholds.CalcGlobalThreshOtsu
@ALDAOperator(genericExecutionMode=ALL) public class CalcGlobalThreshOtsu
This class implements routines to calculate Otsu's threshold from given grayscale images.
Basically, a threshold is extracted that separates the image histogram in two classes, more or less equal in size and well-separated in terms of their average intensities.
Otsu thresholding is based on the following goal function,
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 | |
---|---|
CalcGlobalThreshOtsu()
Default constructor. |
|
CalcGlobalThreshOtsu(MTBImage img)
Default constructor with input image as argument. |
|
CalcGlobalThreshOtsu(MTBImageHistogram histo)
Default constructor with input histogram as argument. |
Method Summary | |
---|---|
MTBDoubleData |
getOtsuThreshold()
Get the resulting threshold. |
protected void |
operate()
|
void |
validateCustom()
|
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, 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 CalcGlobalThreshOtsu() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public CalcGlobalThreshOtsu(MTBImage img) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
img
- Input image.
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public CalcGlobalThreshOtsu(MTBImageHistogram histo) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
histo
- Input histogram.
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
Method Detail |
---|
public void validateCustom() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
validateCustom
in class de.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
public MTBDoubleData getOtsuThreshold()
protected void operate()
operate
in class de.unihalle.informatik.Alida.operator.ALDOperator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |