public class Measure_DetectionErrors extends EvaluationMeasureContours
In detail the measures are:
gtContours, gtRegionLabels, resultImg, segContours, segRegionLabels
evalData, gtIDs, gtLabelImage, height, labelsetGT, labelsetSG, matchingMatrix, maxRegionCount, minRegionCount, scoreMatrix, segLabelImage, sgIDs, sizesGT, sizesSG, width
Constructor and Description |
---|
Measure_DetectionErrors()
Default constructor.
|
Measure_DetectionErrors(MTBImageShort segImg,
MTBImageShort gtImg,
ArrayList<ArrayList<Point>> _segContours,
ArrayList<ArrayList<Point>> _gtContours,
ArrayList<Integer> _segRegions,
ArrayList<Integer> _gtRegions,
byte[][] mmatrix)
Constructor with arguments.
|
Modifier and Type | Method and Description |
---|---|
private MTBGroundtruthEvaluationData |
ComputeDetectionErrors()
This method is the implementation of the Detection Errors.
|
protected void |
doEvaluation()
Method to overwrite that does actual calculations.
|
private double |
LE(int gtIndex,
int segIndex)
This method implements the localization error.
|
private double |
ODE(int gtIndex,
int segIndex)
This method computes the overdetection error.
|
private double |
UDE(int gtIndex,
int segIndex)
This method computes the underdetection 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
public Measure_DetectionErrors() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.public Measure_DetectionErrors(MTBImageShort segImg, MTBImageShort gtImg, ArrayList<ArrayList<Point>> _segContours, ArrayList<ArrayList<Point>> _gtContours, ArrayList<Integer> _segRegions, ArrayList<Integer> _gtRegions, byte[][] mmatrix) 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.de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.protected void doEvaluation() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
EvaluationMeasure
doEvaluation
in class EvaluationMeasure
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.private MTBGroundtruthEvaluationData ComputeDetectionErrors()
private double ODE(int gtIndex, int segIndex)
gtIndex
- Index of groundtruth region.segIndex
- Index of matched segmented region.private double UDE(int gtIndex, int segIndex)
gtIndex
- Index of groundtruth region.segIndex
- Index of matched segmented region.private double LE(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.