Table of Contents ▸ List of Commands ▸ Geometry Manipulation ▸ extract | ◀ expand | extract_region ▶ |
extract
Arguments:
- "condition",_output_type={ 0:XYZC-coords | 1:XYZ-coords | 2:Scalar-values | 3:Vector-values | 4:XYZC-coords + scalar value | 5:XYZ-coords + vector-values }
Description:
Extract a list of coordinates or values from selected image, wherespecified mathematical condition holds.
For N coordinates matching, result is a 1xNx1x4 image.
Default values:
output_type=0.
Example of use:
sp lena +extract "norm(I)>128",3