plateorientation

Syntax: plateorientation(geometry, phi, theta, derivative sigma, smoothing sigma)

Estimates local orientation of planar structures (normal of the plane) using the structure tensor method. See also B. Jähne, Practical handbook on image processing for scientific and technical applications. CRC Press, 2004.

This command can be used in the distributed processing mode. Use distribute command to change processing mode from local to distributed.

Arguments

geometry [input & output]

Data type: float32 image

At input, an image that contains the geometry for which local orientation should be determined. At output, the orientation ‘energy’ will be stored in this image. It equals the sum of the eigenvalues of the structure tensor, and can be used to distinguish regions without any interfaces (i.e. no orientation, low energy value) from regions with interfaces (i.e. orientation available, high energy value).

phi [output]

Data type: float32 image

The azimuthal angle of orientation direction will be stored in this image. The angle is given in radians and measured from positive \(x\)-axis towards positive \(y\)-axis and is given in range \([-\pi, \pi]\).

theta [output]

Data type: float32 image

The polar angle of orientation direction will be stored in this image. The angle is given in radians and measured from positive \(z\)-axis towards \(xy\)-plane. The values are in range \([0, \pi]\).

derivative sigma [input]

Data type: real

Default value: 1

Scale parameter. Set to the preferred scale of edges that define the cylinders. Derivatives required in the stucture tensor are calculated using convolutions with derivative of a Gaussian function, and this parameter defines the standard deviation of the Gaussian.

smoothing sigma [input]

Data type: real

Default value: 1

The structure tensor is smoothed by convolution with a Gaussian. This parameter defines the standard deviation of the smoothing Gaussian.