karo_bin_rand_del
Arguments:
- _thickness(=1) _typ={0=all | 1=top/right | 2=bottom/left}
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