avid.externals.plastimatch.parseDiceResult

avid.externals.plastimatch.parseDiceResult(outputStr)

Helper that parses the output of plastimatch dice into a dict. @param outputStr: String that contains the output of plastimatch compare @result Dictionary that containes the result values of the plastimatch call. Keys are: ‘TP’,’TN’,’FN’,’FP’,’DICE’,’SE’,’SP’, ‘Hausdorff distance’,’Avg average Hausdorff distance’, ‘Max average Hausdorff distance’,’Percent (0.95) Hausdorff distance’, ‘Hausdorff distance (boundary)’,’Avg average Hausdorff distance (boundary)’, ‘Max average Hausdorff distance (boundary)’,’Percent (0.95) Hausdorff distance (boundary)’