public class Measure_PrattsFigureOfMerit 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_PrattsFigureOfMerit()
Default constructor.
|
Measure_PrattsFigureOfMerit(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 double |
compute(int gtIndex,
int segIndex)
This method implements the PRA itself for two given contours.
|
protected void |
doEvaluation()
Method to overwrite that does actual calculations.
|
protected MTBGroundtruthEvaluationData |
PRA()
This method is the implementation of Pratt's figure of merit.
|
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_PrattsFigureOfMerit() throws de.unihalle.informatik.Alida.exceptions.ALDOperatorException
de.unihalle.informatik.Alida.exceptions.ALDOperatorException
- Thrown in case of failure.public Measure_PrattsFigureOfMerit(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.protected MTBGroundtruthEvaluationData PRA()
protected double compute(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.