I have a dataset of nifti files about Brain MRI performed to different patients and i've loaded them in Python using a library called Nibabel.
Here a slice of an MRI taken from my dataset:
As you can see this head is not perfectly aligned (in this case is slightly inclined to the right). Since i want to use this nifti dataset with a neural network, i would like to align properly every single Brain MRI.
I've found the tool Flirt (found in FSL) (I'm actually using a wrapper for Python), do you know if it can be used to solve my problem?
If yes, which are the appropriate settings for the tool ? It's the first time i work with nifti files :(
If this tool cannot be used to align Brain MRI, do you know tools/libraries i can use for this purpose ?