Woolz Image Processing  Version 1.7.0
WlzTensorComponent

## Files

file  WlzTensorComponent.c
Extract tensor component values. "".

## Detailed Description

Name
WlzTensorComponent - extracts tensor component values.
Synopsis
WlzTensorComponent [-c <cpt>] [-o<output object>] [-h] [<input object>]

Options
 -c Component index which must be in the range $$[0-(1-V_n)]$$ where $$V_n$$ is the number of component values per element in the object, eg for a scalar image 0 and for a rank 2 3x3 tensor this would be 9. -o Output file. -h Help, prints usage message.
Description
Extracts tensor component values from a tensor image object. Because the resulting object is always a non-tiled object this filter may also be used to convert a tiled to non-tiled object. It is safe to supply a non-tiled object as the input (provided that the component index is zero). By default all files are read from the standard input and written to the standard output.
Examples
WlzTensorComponent -o c_0.wlz -c 0 in.wlz

Creates a scalar object containing just the first component of the given tensor image. Alternatively this would also convert a tiled object (in.wlz) to a non-tiled object (retaining only the zeroth component of it's values). The object is written to the file c_0.wlz
File
WlzTensorComponent.c