PANDORE Version 6 GREYC-IMAGE

passessfragmentationconsistency



Assesses region fragmentation consistency of a segmentation result by comparison with a reference segmentation.



Synopsis

passessfragmentationconsistency matching_threshold [segmentation_result_in|-] [reference_segmentation_in|-] [col_out|-]

Description

The operator passessfragmentationconsistency calculates 2 errors to assess region fragmentation consistency of a segmentation result by comparison with a reference segmentation.

The two errors are:

A segment S detects a region R if the overlapping area | R * S | is such that:

  | R * S |                                   | R * S |    
  --------- >= matching_threshold and  --------- >= matching_threshold
    | R |                                       | S |

Error values are real values. An under-segmentation error of x means that the segments merge 2^x regions in average assuming that these regions have all the same size. An over-segmentation error of x means that the regions are split into 2^x segments in average assuming that these segments have all the same size. The result is stored in the output collection col_out.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Assesses region fragmentation consistency of the segmentation result stored in 'tangram.pan' considering a minimum overlapping area of 50%:

passessdetectionaccuracy 0.5 resultimages/algo001/tangram.pan groundtruths/expert001/tangram.pan errors.pan
pvisu errors.pan

See also

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

Prototype C++

Errc PAssessFragmentationConsistency( const Reg2d &segmentation_result_in, const Reg2d &reference_segmentation_in, Collection &cold, const float matching_threshold );

Author: Régis Clouard