extract
Arguments:
- "condition",_output_type={ 0=xyzc-coordinates | 1=xyz-coordinates | 2=scalar-values | 3=vector-values }
Description:
Extract a list of coordinates or values from selected image, where
specified mathematical condition holds.
For N coordinates matching, result is a 1xNx1x4 image.
Default values:
output_type=0.
Example of use:
$ gmic sp lena +extract "norm(I)>128",3

Command: sp lena +extract "norm(I)>128",3

Command: sp lena +extract "norm(I)>128",3