Reference

Table of Contents  ▸  List of Commands  ▸  User Karo's PINK-library operators  ▸  pink_skelcurv◀  pink_reg_maxima    |    pink_skelend  ▶

pink_skelcurv

Arguments:

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