public class Measure_HausdorffDistance extends EvaluationMeasureContours
gtContours, gtRegionLabels, resultImg, segContours, segRegionLabels
evalData, gtIDs, gtLabelImage, height, labelsetGT, labelsetSG, matchingMatrix, maxRegionCount, minRegionCount, scoreMatrix, segLabelImage, sgIDs, sizesGT, sizesSG, width
Constructor and Description |
---|
Measure_HausdorffDistance()
Default constructor.
|
Measure_HausdorffDistance(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 |
---|---|
protected void |
doEvaluation()
Method to overwrite that does actual calculations.
|
protected double |
h(ArrayList<Point> list1,
ArrayList<Point> list2)
This methods computes for all points in a contour the maximum minimal
distance to an other contour.
|
private MTBGroundtruthEvaluationData |
HAU()
This method is the implementation of the Hausdorff Distance
|
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_HausdorffDistance() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.public Measure_HausdorffDistance(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
- Labels of segmented regions._gtRegions
- Labels of groundtruth regions.mmatrix
- Assignment matrix.de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.protected void doEvaluation() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException, de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
EvaluationMeasure
doEvaluation
in class EvaluationMeasure
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.de.unihalle.informatik.Alida.exceptions.ALDProcessingDAGException
- Thrown in case of failure.private MTBGroundtruthEvaluationData HAU()
protected double h(ArrayList<Point> list1, ArrayList<Point> list2)
list1
- Point list of first contour.list2
- Point list of second contour.Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.