mainorientationcolor¶
Syntax: mainorientationcolor(geometry, phi, theta, phim, thetam, r, g, b)
Color codes orientation data according to deviation from a given main orientation. In the output, hue describes angle between the local orientation (phi and theta arguments) and the main orientation (phim and thetam arguments). Saturation is always 1 and value is the pixel value in the geometry image normalized such that maximum value of the geometry image is mapped to 1, and zero to 0.
This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.
Arguments¶
geometry [input]¶
Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image
An image that contains the geometry for which local orientation has been determined.
phi [input]¶
Data type: float32 image
The azimuthal angle of the local orientation direction. The angle is given in radians and measured from positive \(x\)-axis towards positive \(y\)-axis and is given in range \([-\pi, \pi]\).
theta [input]¶
Data type: float32 image
The polar angle of the local orientation direction. The angle is given in radians and measured from positive \(z\)-axis towards \(xy\)-plane. The values are in range \([0, \pi]\).