Skip to content

[Idea] addition to the wiki about wrong labels on images #59

@julfou81

Description

@julfou81

Hi @pcklink @niksirbi ,

I would like to report a procedure that we use now in our lab to correct for the wrong label issue in some NHP acquisitions (like when the animal is in sphinx position, or that there is any kind of mismatch between the registration at the subject on the scanner and the actual position of the animal in the scanner).

Here is an example:
Capture d’écran 2021-06-11 à 10 28 43

The solution we use now lies in in two lines using AFNI and FSL: The labels are wrong so don't look at them. First you need to look at the data storage (in FSLeyes for example) (you have to determine toward each direction each dimension is increasing):

  • in x, the cursor is going toward the neck when x increases: I (Inferior)
  • in y, the cursor is going posterior when y increases: P (Posterior)
  • in z, the cursor is going left (opposite to the pastille), when z increases: L (Left)
    => The data storage is 'IPL' in FSL convention, and 'SAR' in AFNI convention (opposite convention between AFNI and FSL, why keep things simple? ;-) )
    So the first command is from AFNI:
    3drefit -orient SAR your_image_to_correct.nii.gz
    => the label are now correct but the display is not standard in FSLeye
    So to have a correct display, we now use FSL:
    fslreorient2std your_image_to_correct.nii.gz your_image_corrected.nii.gz
    => the image is now ready to work with!

Image Pasted at 2021-6-9 08-09

Do you think it is a sound procedure?
Do you think I should add this in the wiki?

Thank you for your answer!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions