PANDORE Version 6 | GREYC-IMAGE |
pinterregioncontrast computes the inter-region contrast criterion as defined by M. Levine & A. Nazif*. This criterion relies on the idea that a good segmentation has a strong contrast between adjacent regions.
This criterion is near 1 when regions are homogeneous and near 0 when regions are heterogeneous.
The inter-region contrast is computed as follows:
criterion = sumR [ AiCi / sum Ai ] Ci = sum [ (lij*|mi-mj|) / (li*(mi+mj)) ]where
Caution: Regions with label=0 are not considered for computing.
Returns a positive real value in [0..1].
(Use pstatus
to get this value).
Computes the inter-region contrast measure for a simple binarization segmentation process:
pbinarization 80 1e30 tangram.pan i1.pan plabeling 8 i1.pan i2.pan paddcst 1 i2.pan i3.pan (label also the background) pinterregioncontrast i3.pan tangram.pan pstatus
Calcul du critère de qualité basé sur le contraste inter-régions.
*M. D. Levine and A. M. Nazif, "Dynamic measurement of computer generated image segmentations", IEEE Trans. PAMI, 7(2): 155-164, 1985.
Author: Régis Clouard