Module: Extract Lines ()
This module extracts a subset of lines or line segments from a given line set object. The lines can be selected by one or more regions of interest ROI Box, by one to three materials in a connected label image, or by an expression which is evaluated on the data values of the vertices of the lines.
Press the Apply button to start the computation and generate a new line set object.
Data [required]
The lines set to be filtered.Label field [optional]
A label image with a number of materials. You can select up to three materials from the label image and only lines that connect all three materials will be copied to the output.Region of interest01 [optional]
A region of interest. Lines need to go through this region to be copied to the output.Region of interest02 [optional]
A second region of interest. More region of interest ports will be added to the model at run-time as long as new ROI Box's are connected.
Info
This port appears if the statistics check box is marked. The port presents minimum and maximum values for each data dimension per vertex.Options
This port is visible only if scalar data items are stored at vertices of input Line Set. Select Expressions to make the Expression port visible. Select Input statistics to make the Info port visible. The values displayed in the Info port will be evaluated each time, so disabling this option will speed up the computation of the line sets.Materials
This port is visible if a label image is connected to the module. It allows the user to select up to three materials from the label field. Only lines that touch each material are copied to the output.Expression
Enter an expression which is evaluated on the data per vertex of each line. Only vertices for which the expression returns true are copied to the output. This will increase the number of lines as one line of the input may be split into several line fragments of the output.The variable for each data dimension is named <dataN> where N is the number of dimension starting with 0. An expression like data0>0.5 will therefore copy only line segments to the output where the first data value of a point along the line is greater than 0.5.