Module: Distance from Plane ()
This is an experimental module from the Xtra Library: https://xtras.amira-avizo.com.
This module computes the euclidian distance from a label field to a user-defined plane.
It outputs a scalar field with distance values mapped on the voxels belonging to a label and a padding value assigned to the rest of the voxels (exterior).
The plane can be defined manually or by connecting a plane (e.g. a Slice) or by connecting a spreadsheet containing barycenter and eigenvectors information (e.g. Label Analysis).
Data [required]
The module takes a label field as input.Plane [optional]
A planar object from which to compute the distance (e.g. Slice, Ortho Slice, Clipping Plane).Analysis [optional]
A spreadsheet containing barycenter and eigenvectors information (e.g. Label Analysis) from which a plane can be defined.
Plane Definition
Pick an option for plane definition. Plane and Analysis can be chosen only if a plane or spreadsheet are connected from the eponym ports.Row Index
This port is displayed if Analysis is selected and if the spreadsheet has more than one row. In that case, you can select the row from which the plane will be defined.Origin
Origin of the plane.
Note: This port can't be edited if Plane and Analysis are chosen. To edit a plane defined from e.g. a Slice, go back to Manual definition and edit.Plane Vec 1
First vector defining the plane.
Note: This port can't be edited if Plane and Analysis are chosen. To edit a plane defined from e.g. a Slice, go back to Manual definition and edit.Plane Vec 2
Second vector defining the plane.
Note: This port can't be edited if Plane and Analysis are chosen. To edit a plane defined from e.g. a Slice, go back to Manual definition and edit.Padding Value
Padding value to be assigned to exterior voxels of the input label field.Signed Distance
Switches on and off the computation of signed distance.Create Plane
Allows the creation of a Slice or an Empty Plane from the plane definition information stored in the module.