FBR files are text files containing the fiber coordinates. The fiber data in the *.fbr format can be checked via any text editor.
FBR format version 5: binary
FBR file parameter | Sample values | Description |
Magic number (integer 32-bit): | 0xB1C2D3A4 | Value should be as specified in sample value for binary fiber files |
| FileVersion (integer 32-bit): | 5 | File version of the *.fbr file |
CoordsType (integer 32-bit): FibersOriginX (float 32-bit):
| BV I 128 128 128
| BrainVoyager coordinate system: 2 - BVI (default), 1 - SYS, 0 - TAL (see https://helpdesk.brainvoyager.com/507721-BrainVoyager-Coordinate-Systems) Origin of fibers (FileVersion 4)
|
| NrOfGroups (int 32-bit): | 1 | |
| Loop over groups: |
| |
| Name (0-terminated 8-bit characters): | "Tracked From VOI: testvoi_ACPC" | |
| Visible (integer 32-bit): | 1 | Boolean value indicating whether the fiber should be shown |
| Animate (integer 32-bit): | -1 | |
| Thickness (float 32-bit): | 0.3 | Thickness of the shown fiber in mm (?) |
| Color (3 * 8-bit): | 25 25 127 | RGB values for fiber (between 0 and 255) |
| NrOfFibers: | 121 | |
| In group, loop over number of fibers: |
| |
| NrOfPoints (integer 32-bit): | <points> | |
X positions (float) * number of points Y positions (float) * number of points Z positions (float) * number of points | 101.209 128.266 120.192 | |
R colour (char) * number of points G colour (char) * number of points B colour (char) * number of points |
FBR format version 4: text
FBR file parameter | Sample values | Description |
|
|
|
| FileVersion: | 4 | File version of the *.fbr file |
CoordsType: FibersOriginX:
| BV I 128 128 128
| BrainVoyager coordinate system Origin of fibers (FileVersion 4)
|
| NrOfGroups: | 1 | |
| ||
| Name: | "Tracked From VOI: testvoi_ACPC" | |
| Visible: | 1 | Boolean value indicating whether the fiber should be shown |
| Animate: | -1 | |
| Thickness: | 0.3 | Thickness of the shown fiber in mm (?) |
| Color: | 25 25 127 | RGB values for fiber (between 0 and 255) |
| NrOfFibers: | 121 | |
| Loop over number of fibers: |
| |
| NrOfPoints: | <points> | |
| X Y Z * points (float) | 101.209 128.266 120.192 |
Newer information (see DTI Getting Started Guide 1.1):
This is the coordinate system in the OpenGL/3D Viewer window.
Origin: [x, y, z] = 0.5*VMR slice X-resolution, 0.5*VMR slice Y-resolution, 0.5*number of slices
x-axis: anterior to posterior 0 to X-resolution
y-axis: superior to inferior 0 to Y-resolution
z-axis: right to left 0 to Z-resolution