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 acceptable_error2 acceptable_error3 acceptable_error4 acceptable_error5 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':

pranksegmentationalgorithmsfromfolders 0 0.5 4 6 3 1 1 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 acceptable_error2, int acceptable_error3, int acceptable_error4, int acceptable_error5, std::string segmentation_result_path, std::string ground_truth_path, Collection & col_out1, Collection & col_out2 );

Author: Régis Clouard