Reference

Table of Contents  ▸  List of Commands  ▸  User KaRo's CLI functions  ▸  karo_bin_rand_del◀  karo_bin_fill    |    karo_bin_max  ▶

karo_bin_rand_del

Arguments:

Description:

Delete border (defined by _thickness) touching 4-connected objects/regions in binary pattern either around, at top/right or at bottom/left borders. The latter two serve for unbiased sampling/counting of object sets in limited test areas, the "forbidden line algorithm".

Example of use:

$ gmic follic threshold 18.6% negate[-1] +karo_bin_rand_del[-1] , +karo_bin_rand_del[-2] ,1 +karo_bin_rand_del[-3] ,2 a[-1--3] c

Command: follic threshold 18.6% negate[-1] +karo_bin_rand_del[-1] , +karo_bin_rand_del[-2] ,1 +karo_bin_rand_del[-3] ,2 a[-1--3] c
Command: follic threshold 18.6% negate[-1] +karo_bin_rand_del[-1] , +karo_bin_rand_del[-2] ,1 +karo_bin_rand_del[-3] ,2 a[-1--3] c