public class Measure_OdetsCriteria extends EvaluationMeasureContours
Modifier and Type | Field and Description |
---|---|
protected int |
n
Exponent for calculations.
|
gtContours, gtRegionLabels, resultImg, segContours, segRegionLabels
evalData, gtIDs, gtLabelImage, height, labelsetGT, labelsetSG, matchingMatrix, maxRegionCount, minRegionCount, scoreMatrix, segLabelImage, sgIDs, sizesGT, sizesSG, width
Constructor and Description |
---|
Measure_OdetsCriteria()
Default constructor.
|
Measure_OdetsCriteria(MTBImageShort segImg,
MTBImageShort gtImg,
ArrayList<ArrayList<Point>> _segContours,
ArrayList<ArrayList<Point>> _gtContours,
ArrayList<Integer> _segRegions,
ArrayList<Integer> _gtRegions,
byte[][] mmatrix,
int nValue)
Constructor with arguments.
|
Modifier and Type | Method and Description |
---|---|
private MTBGroundtruthEvaluationData |
ComputeOdetsCriteria()
This method is the implementation of Odet's criteria.
|
protected void |
doEvaluation()
This method does the actual work.
|
protected double |
OCO(int gtIndex,
int segIndex)
This method implements Odet's oversegmentation error.
|
protected double |
OCU(int gtIndex,
int segIndex)
This method implements Odet's undersegmentation error.
|
showContours
getResult, operate
readResolve
addOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getDocumentation, getHidingMode, getInactiveParameterNames, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterDescriptorUnconditioned, getParameterNames, getParameterUnconditioned, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, hasInOutParameters, hasParameter, isAnnotatedParameter, isConfigured, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory
@Parameter(label="Parameter n", required=true, dataIOOrder=10, direction=IN, description="Exponential Parameter n.") protected int n
public Measure_OdetsCriteria() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.public Measure_OdetsCriteria(MTBImageShort segImg, MTBImageShort gtImg, ArrayList<ArrayList<Point>> _segContours, ArrayList<ArrayList<Point>> _gtContours, ArrayList<Integer> _segRegions, ArrayList<Integer> _gtRegions, byte[][] mmatrix, int nValue) throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
segImg
- Segmentation result.gtImg
- Groundtruth label image._segContours
- Segmented contours._gtContours
- Groundtruth contours._segRegions
- Segmented regions (pixel list)._gtRegions
- Groundtruth regions (pixel list).mmatrix
- Assignment matrix.nValue
- Parameter n.de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.protected void doEvaluation() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
doEvaluation
in class EvaluationMeasure
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.private MTBGroundtruthEvaluationData ComputeOdetsCriteria()
protected double OCO(int gtIndex, int segIndex)
gtIndex
- Index of groundtruth region.segIndex
- Index of matched segmented region.protected double OCU(int gtIndex, int segIndex)
gtIndex
- Index of groundtruth region.segIndex
- Index of matched segmented region.Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.