pink_skelcurv
Arguments:
- _prio={prio image|0|1|2|3|4|8|6|18|26|5},_connectivity={ 4 | 8 | 6 | 26 },_inhibit={""|inhibit image}
Description:
(https://perso.esiee.fr/~coupriem/Pink/doc/html/skelcurv_8c.html)
Curvilinear binary skeleton guided by a priority function or image (requires the PINK library to be installed).
Default values:
prio=0, connectivity=4 and inhibit="".
Examples of use:
• Example #1
$ gmic sp tiger threshold 50% {w},{h} fill. 'if(x>w/2,255,0)' tp=${-path_tmp} output. ${tp}/inhibit.pgm remove. +pink_skelcurv[0] , +pink_skelcurv[0] ,,${tp}/inhibit.pgm exec "rm "${tp}"/inhibit.pgm"

Command: sp tiger threshold 50% {w},{h} fill. 'if(x>w/2,255,0)' tp=${-path_tmp} output. ${tp}/inhibit.pgm remove. +pink_skelcurv[0] , +pink_skelcurv[0] ,,${tp}/inhibit.pgm exec "rm "${tp}"/inhibit.pgm"

Command: sp tiger threshold 50% {w},{h} fill. 'if(x>w/2,255,0)' tp=${-path_tmp} output. ${tp}/inhibit.pgm remove. +pink_skelcurv[0] , +pink_skelcurv[0] ,,${tp}/inhibit.pgm exec "rm "${tp}"/inhibit.pgm"

Command: sp tiger threshold 50% {w},{h} fill. 'if(x>w/2,255,0)' tp=${-path_tmp} output. ${tp}/inhibit.pgm remove. +pink_skelcurv[0] , +pink_skelcurv[0] ,,${tp}/inhibit.pgm exec "rm "${tp}"/inhibit.pgm"
• Example #2
$ gmic sp tiger threshold 50% +pink_skelcurv , +pink_skelcurv.. ,8

Command: sp tiger threshold 50% +pink_skelcurv , +pink_skelcurv.. ,8

Command: sp tiger threshold 50% +pink_skelcurv , +pink_skelcurv.. ,8

Command: sp tiger threshold 50% +pink_skelcurv , +pink_skelcurv.. ,8