Edward Cayllahua-Cahuina, Jean Cousty, Silvio Guimarães, Yukiko Kenmochi, Guillermo Cámara-Chávez & Arnaldo de Albuquerque Araújo
| Image | Result of the original HGB method (saliency map) | Result of the HGB method with the newly proposed upper P-rank selection strategy |
|---|---|---|
![]() |
![]() |
![]() |
| A segmentation obtained from Min-rule hierarchy (48 Regions) | A segmentation obtained from Upper P-rank hierarchy (48 Regions) | |
![]() |
![]() |
|
| A segmentation obtained from Min-rule hierarchy (100 Regions) | A segmentation obtained from Upper P-rank hierarchy (100 Regions) | |
![]() |
![]() |
Click here to get the code.
This code was compiled and executed in Linux. To compile use:
./compileHGB.sh
The program takes as input an image file in the format XXXX.ppm and produces as output a saliency map XXXX.pgm, which is the visualization of the hierarchy after performing the hierarchical graph based segmentation from a non increasing edge observation attribute of the input image.
To execute the program:
./hgbSegmentation.sh INPUT_IMAGE.ppm OUTPUT_SM.pgm OPTION PARAMETER AREASIMP
Where:
OPTION:
1: Use Min: select minimum value on positive observation intervals
2: Use Max: select the last upper bound on negative intervals
3: Lower-length: On positive intervals, apply length threshold and min-rule
4: Upper-length: apply length threshold and max-rule
5: Lower-area: On positive intervals, apply area and min-rule
6: Upper-Narea: On negative intervals, apply area and max-rule
7: Lower-depth: On positive intervals, apply depth filter and min-rule
8: Upper-Ndepth: On negative intervals, apply depth filter and max-rule
9: Lower p-rank: On positive intervals, apply rank filter and min-rule
10: Upper p-rank: On negative intervals, apply rank filter and max-rule
PARAMETER: Refers to the alpha or ranking parameter (threshold)
AREASIMP: Refers to the area simplification parameter. If no value is passed, then the value 0.004 is assumed.
Example:
./hgbSegmentation.sh Images/3063.ppm /tmp/salida.pgm 10 0.001 0.003
Please cite as
@InProceedings{Cayllahuaetal2019,
author="Cayllahua-Cahuina, Edward
and Cousty, Jean
and Guimar{\~a}es, Silvio
and Kenmochi, Yukiko
and C{\'a}mara-Ch{\'a}vez, Guillermo
and de Albuquerque Ara{\'u}jo, Arnaldo",
title="A Study of Observation Scales Based on Felzenswalb-Huttenlocher Dissimilarity Measure for Hierarchical Segmentation",
booktitle="Discrete Geometry for Computer Imagery",
year="2019",
publisher="Springer International Publishing",
pages="167--179",
isbn="978-3-030-14085-4"
}
Cayllahua-Cahuina, E., Cousty, J., Guimarães, S.J.F., Kenmochi, Y., Cámara-Chávez, G. & Araújo, A. de A. A study of observation scales based on Felzenswalb-Huttenlocher dissimilarity measure for hierarchical segmentation. Proceedings of the 21st International Conference on Discrete Geometry for Computer Imagery, DGCI, Paris, France, Lecture Notes in Computer Science, Springer, DOI 10.1007/978-3-030-14085-4_14, vol. 11414, 2019, pp 167-179.
Cayllahua-Cahuina, E., Cousty, J., Guimarães, S.J.F., Kenmochi, Y., Cámara-Chávez, G. & Araújo, A. de A. Efficient algorithms for hierarchical graph-based segmentation relying on the Felzenszwalb-Huttenlocher dissimilarity . International Journal of Pattern Recognition and Artificial Intelligence, DOI 10.1142/S0218001419400081, vol. 33, no. 11, 2019, pp 1-27.
Cayllahua-Cahuina, E., Cousty, J., Kenmochi, Y., Araújo, A. de A. & Cámara-Chávez, G. Algorithms for hierarchical segmentation based on the Felzenszwalb-Huttenlocher dissimilarity . Proceedings of the International Conference on Pattern Recognition and Artificial Intelligence, ICPRAI, Montréal, Canada, ISBN no. 1 895193 06 0, 2018, pp 108-113.
Guimarães, S., Kenmochi, Y., Cousty, J., Patrocinio N. & Najman L. Hierarchizing graph-based image segmentation algorithms relying on region dissimilarity . Mathematical Morphology - Theory and Applications, 2(1), DOI 10.1515/mathm-2017-0004, 2017, pp. 55-75.
Cousty, J., Najman L., Kenmochi, Y., & Guimarães, S. Hierarchical segmentations with graphs: quasi-flat zones, minimum spanning trees, and saliency maps . Journal of Mathematical Imaging and Vision. DOI 10.1007/s10851-017-0768-7, vol. 60, no. 4, 2018, pp 479-502.
This software is governed by the CeCILL license under French law and abiding by the rules of distribution of free software. You can use, modify and/ or redistribute the software under the terms of the CeCILL license as circulated by CEA, CNRS and INRIA at the following URL .
| Edward Cayllahua-Cahuina [1,2], Jean Cousty [1], Silvio Guimarães [3], Yukiko Kenmochi [1], Guillermo Cámara-Chávez[4], & Arnaldo de Albuquerque Araújo [1,2] | ||
|
[1] Université Paris-Est, LIGM (UMR 8049), CNRS, ENPC, ESIEE Paris, UPEM [2] Universidade Federal de Minas Gerais, DCC - NPDI [3] Pontifícia Universidade Católica De Minas Gerais - VIPLAB [4] Universidade Federal de Ouro Preto - DECOM |
||
![]()
![]()
|