niftynet.contrib.evaluation.segmentation_evaluations module¶
This module holds built-in segmentation evaluations without tests
-
class
com_ref
(reader, app_param, eval_param)[source]¶ Bases:
niftynet.evaluation.segmentation_evaluations.PerComponentEvaluation
Computes the centers of mass of each component in the reference standard
-
class
ErrorMapsCC
(reader, app_param, eval_param)[source]¶ Bases:
niftynet.evaluation.base_evaluations.BaseEvaluation
Create 3 maps of connected component detection: tpc_map shows each detected ref cc (having at least on seg cc that overlaps) and the union of all overlapping seg ccs fnc_map shows all ref ccs that were not detected fpc_map shows all seg ccs that did not overlap any ref ccs Note we currently arbitrarily limit image generation to binary problems