Skip to content
Snippets Groups Projects
Commit 77732cfb authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

DOC: More images, referenced in x5.py. Will add more details

parent 2868f505
No related branches found
No related tags found
No related merge requests found
doc/images/x5_nonlinear_coefficient_field_file.png

769 KiB

File added
doc/images/x5_nonlinear_displacement_field_file.png

693 KiB

No preview for this file type
...@@ -23,7 +23,7 @@ reference image the ``To`` space. ...@@ -23,7 +23,7 @@ reference image the ``To`` space.
Custom HDF5 groups Custom HDF5 groups
------------------ ==================
HDF5 files are composed primarily of *groups*, *attributes*, and HDF5 files are composed primarily of *groups*, *attributes*, and
...@@ -42,7 +42,7 @@ attributes/datasets that are listed here. ...@@ -42,7 +42,7 @@ attributes/datasets that are listed here.
*affine* *affine*
^^^^^^^^ --------
A HDF5 group which is listed as being of type "affine" contains an affine A HDF5 group which is listed as being of type "affine" contains an affine
...@@ -63,7 +63,7 @@ another. Groups of type "affine" have the following fields: ...@@ -63,7 +63,7 @@ another. Groups of type "affine" have the following fields:
*space* *space*
^^^^^^^ -------
A HDF5 group which is listed as being of type "space" contains all of the A HDF5 group which is listed as being of type "space" contains all of the
...@@ -92,7 +92,7 @@ Groups of type "space" have the following fields: ...@@ -92,7 +92,7 @@ Groups of type "space" have the following fields:
Linear X5 files Linear X5 files
--------------- ===============
Linear X5 transformation files contain an affine transformation matrix of Linear X5 transformation files contain an affine transformation matrix of
...@@ -128,8 +128,17 @@ defined in the table below. All fields are required. ...@@ -128,8 +128,17 @@ defined in the table below. All fields are required.
+-----------------------------+-----------+-----------------------------------+ +-----------------------------+-----------+-----------------------------------+
Storage of FSL FLIRT matrices in linear X5 files
------------------------------------------------
.. image:: images/x5_linear_transform_file.png
:width: 80%
:align: center
Non-linear X5 transformation files Non-linear X5 transformation files
---------------------------------- ==================================
Non-linear X5 transformation files contain a non-linear transformation between Non-linear X5 transformation files contain a non-linear transformation between
...@@ -146,7 +155,7 @@ transformation is represented as either: ...@@ -146,7 +155,7 @@ transformation is represented as either:
Displacement fields Displacement fields
^^^^^^^^^^^^^^^^^^^ -------------------
A displacement field is a ``float64`` array of shape ``(X, Y, Z, 3)``, defined A displacement field is a ``float64`` array of shape ``(X, Y, Z, 3)``, defined
...@@ -164,7 +173,7 @@ to have shape ``(X, Y, Z)``. A displacement field may contain either: ...@@ -164,7 +173,7 @@ to have shape ``(X, Y, Z)``. A displacement field may contain either:
Coefficient fields Coefficient fields
^^^^^^^^^^^^^^^^^^ ------------------
A coefficient field is a ``float64`` array of shape ``(X, Y, Z, 3)`` which A coefficient field is a ``float64`` array of shape ``(X, Y, Z, 3)`` which
...@@ -191,7 +200,7 @@ stored in coefficient field files, in a sub-group called ``/Parameters/``: ...@@ -191,7 +200,7 @@ stored in coefficient field files, in a sub-group called ``/Parameters/``:
Non-linear coordinate systems Non-linear coordinate systems
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -----------------------------
The coordinate systems used in a displacement field, or in a displacement The coordinate systems used in a displacement field, or in a displacement
...@@ -216,7 +225,7 @@ coordinate system. ...@@ -216,7 +225,7 @@ coordinate system.
Initial affine alignment Initial affine alignment
^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------
Non-linear transformations are often accompanied by an initial affine Non-linear transformations are often accompanied by an initial affine
...@@ -254,7 +263,7 @@ assumed to provide a transformation: ...@@ -254,7 +263,7 @@ assumed to provide a transformation:
File format specification File format specification
^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------------
Non-linear X5 transformation files are assumed to adhere to the following Non-linear X5 transformation files are assumed to adhere to the following
...@@ -327,6 +336,43 @@ HDF5 structure. All fields are required unless otherwise noted: ...@@ -327,6 +336,43 @@ HDF5 structure. All fields are required unless otherwise noted:
| | | coefficient field voxel | | | | coefficient field voxel |
| | | affine transformation. | | | | affine transformation. |
+-----------------------------------+-----------+-----------------------------+ +-----------------------------------+-----------+-----------------------------+
Storage of FSL FNIRT files in nonlinear X5 files
------------------------------------------------
.. image:: images/nonlinear_registration_process.png
:width: 80%
:align: center
Displacement fields
^^^^^^^^^^^^^^^^^^^
.. image:: images/fnirt_displacement_field.png
:width: 80%
:align: center
.. image:: images/x5_nonlinear_displacement_field_file.png
:width: 95%
:align: center
Coefficient fields
^^^^^^^^^^^^^^^^^^
.. image:: images/fnirt_coefficient_field.png
:width: 80%
:align: center
.. image:: images/x5_nonlinear_coefficient_field_file.png
:width: 95%
:align: center
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment