Purpose

The color of each fiberpoint of a given fiber set or fiber set container is set to the RGB value of the corresponding voxel value of the input image.

Usage

Connect a fiber set or fiber set container to the MLBase input (input fibers) and also connect an image to the input0. If you do not want to modify the original fiberset, enable the Use Copy checkbox.

Details

The alpha value is ignored at the moment, because there is no representation in FiberSet.

Note that if the world coordinates of the image does not match to the world coordinates of the fibers, the color is set to red.

Windows

Default Panel

../../../Projects/MLDiffusionMRI/Modules/MLFiberUtilsExtension/mhelp/Images/Screenshots/SetFiberColor._default.png

Input Fields

input0

name: input0, type: Image

Connect an RGBA image to the input input0.

inputFibers

name: inputFibers, type: MLBase

Connect a fiber set or fiber set container to the MLBase input (input fibers).

Output Fields

outputFiberSet

name: outputFiberSet, type: MLBase

Corresponding to the input of the MLBase field, the output is a fiber set or fiber set container where the RGB values of each fiber point are set corresponding to the RGBA input image.

Parameter Fields

Visible Fields

Use Copy

name: copyInputFibers, type: Bool, default: FALSE

If enabled, a copy of the input fiber set or fiber set container is performed, so that the RGB values of the original input are not modified. Only the copied fibers are modified.