PANDORE Version 6 GREYC-IMAGE

pranksegmentationalgorithmsfromfolders



Image segmentation algorithms ranking based on discrepancy measures between segmentation results and reference segmentations (full).



Synopsis

pranksegmentationalgorithmsfromfolders matching_algorithm_id matching_threshold acceptable_error1 priority1 acceptable_error2 priority2 acceptable_error3 priority3 acceptable_error4 priority4 acceptable_error5 priority5 segmentation_result_path reference_segmentation_path [col_out1|-] [col_out2|-]

Description

The operator pranksegmentationalgorithmsfromfolders ranks several segmentation algorithms according to their performances. Performances are evaluated by discrepancy measures between segmentation results and ground truths.

Performance is calculated from 10 discrepancy measures between segmentations and the corresponding ground truth. Five discrepancy indicators are evaluated and for each indicator two measures are calculated with value between 0 and 1:

For each indicator i, the most acceptable error between the two should be specified by the way of the parameter acceptable_errori. (See section "Parameters")

The results are stored in two collections. The first collection col_out1 contains the value of each performance indicator for each algorithm. The second collection col_out2 contains the rank of each algorithm.

Parameters

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Rank all the algorithms from their segmentation results stored in subfolders of folder 'resultimages'. Priority between indicators is: first detection accuracy, second fragmentation consistency, third shape fidelity, fourth boundary precision and finally fith topology preservation:

pranksegmentationalgorithmsfromfolders 0 0.5 4 1 5 2 4 4 2 3 1 5 resultimages groundtruths indicators.pan rank.pan

See also

Evaluation, passessdetectionaccuracy, passessfragmentationconsistency, passessboundaryprecision, passessshapefidelity, passesstopologypreservation, passesssegmentationalgorithm, pranksegmentationalgorithms

Prototype C++

Errc PRankSegmentationAlgorithmsFromFolders( int matching_algorithm_id, float matching_threshold, int acceptable_error1, int priority1, int acceptable_error2, int priority2, int acceptable_error3, int priority3, int acceptable_error4, int priority4, int acceptable_error5, int priority5, std::string segmentation_result_path, std::string ground_truth_path, Collection & cold1, Collection & cold2, bool verbose );

Author: Régis Clouard