Skip to content

Commit 235ed49

Browse files
Add doc (#75)
* Tips and tricks
1 parent 2e83ce1 commit 235ed49

3 files changed

Lines changed: 49 additions & 0 deletions

File tree

docs/.indiv_params.rst.kate-swp

77 Bytes
Binary file not shown.

docs/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ See :ref:`Commands <command>` for a description on the avalaible command paramet
4343

4444
If ``-deriv``` is provided, see :ref:`Derivatives <derivatives>` for a descrition of the outputs
4545

46+
Also, check :ref:`Tips and Tricks <tips_tricks>` on how to format images to improve quality of registration between images and segmentation
47+
4648

4749
Table of contents
4850
******************
@@ -57,6 +59,7 @@ Table of contents
5759
derivatives
5860
params
5961
indiv_params
62+
tips_tricks
6063

6164

6265

docs/tips_tricks.rst

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
:orphan:
2+
3+
.. _tips_tricks:
4+
5+
Tips and tricks
6+
_______________
7+
8+
CT images registration to MRI (be it T1w or T2w) can be somehow tricky.
9+
10+
Here a few tricks:
11+
12+
Reorientation can help
13+
######################
14+
15+
The -orient LPS corresponds to the direction where the increasing numbers are pointing at (typically RAS in radiological convention) and take the opposite directions (special AFNI...).
16+
17+
If you want to exchange to axis, change "target" letters accordingly
18+
RPI -> RIP
19+
20+
If you want to revert one dimension, be careful to modify another axis:
21+
RPI -> RPS becomes LPS to exchange I by S, and good R-L dimension as well
22+
23+
.. code:: bash
24+
25+
$ 3drefit -orient LPS sub-Phoenix_ses-01_acq-CT_T2star.nii.gz
26+
27+
Possibly followed by
28+
29+
.. code:: bash
30+
31+
$ fslreorient2std sub-Phoenix_ses-01_acq-CT_T2star.nii.gz sub-Phoenix_ses-01_acq-CT_T2star_reorient.nii.gz
32+
33+
34+
Cropping (both T1w et T2w) can help
35+
###################################
36+
37+
Include the full head for the CT image
38+
39+
Be careful with Left-Right orientation
40+
######################################
41+
42+
Most of the images in our center are acquired in the right direction, but with an encoding matching inverse Left-Right Encoding to the one that is coming out of the MRI
43+
44+
.. code:: bash
45+
46+
$ 3drefit -orient LPI sub-Rusty/ses-01/anat/sub-Rusty_ses-01_acq-CT_run-02_T2star.nii.gz

0 commit comments

Comments
 (0)