Comments (3)
I do not have access to a dataset to replicate nor do I use Slicer3D, so this is my best guess. I think this just reflects that NIfTI and DICOM have different spatial coordinates. Specifically, NIfTI uses RAS while DICOM uses LPS. To test my hypothesis, drag and drop your NIfTI file on the NiiVue live demo and ensure the (L)eft, (S)uperior and (P)osterior text is correct.
from dcm2niix.
I found that turning the results directly with the parameters didn't turn out in the right direction, and I'd like to tweak them in bulk, but I don't know how to write the parameters to batch.
the args used to convert the dicom to nii
the converted nii with error orientation
the right orientation by the import > tools > rotation
from dcm2niix.
Hello, I am not sure that the dcm2niix issue board is the correct place for this as you are using bidscoin (a dcm2niix wrapper) and MRIcroGL. However, I will try my best. Many quadruped scans have errors in terms of defining the patient position, and different templates use different rotations. This may require you to rotate the NIfTI spatial transformation to match your desired orientation. When you run MRIcroGL from the command line and choose to re-orient an image, you will notice it will provide the permutation required to the columns, rows and slices to get them to match the NIfTI identity matrix:
Reorient Dimensions -1 3 -2
You could always use this to write a nibabel batch script to adjust the NIfTI affine for a huge number of images that required the same rotation. I am not a nibabel expert, but I think ChatGPT can give you some good hints on how to achieve this.
from dcm2niix.
Related Issues (20)
- What is `offset` and `Valid 0` HOT 7
- Suppress ROI1, ROI2, etc. in conversion HOT 1
- Add Return Codes other than 0 HOT 4
- git clone failure? HOT 2
- Error in bvec extraction when UIH diffusion data is converted to nifti HOT 3
- Problems with b2500 and b700 dwi data HOT 5
- GE slice timing error
- Incorrect 3D reconstruction for enhanced multi-frame MRI HOT 4
- Feature request: Instead of providing a source directory, would it be possible to provide dcm2niix a list of files to be processed? HOT 1
- Store DICOM field (0018,9093) NumberOfKSpaceTrajectories ? HOT 2
- XA30 myomaps BEATs triggers conversion warnings, unusable nifti HOT 6
- Different study/data time, -m option not working HOT 1
- XA-series missing minor version tracking in sidecar HOT 8
- Incorrect value of PhaseEncodingDirection on Siemens 3D T2w SPACE scans HOT 4
- Addition of MAGNITUDE to ImageType of Siemens data HOT 4
- Error in Mediso Dynamic PET Conversion HOT 1
- segmentation fault on s390x systems (big endian) HOT 2
- Add github pages demo for dcm2niix WASM with Niivue
- SIEMENS XA50 DIFFUSION DATA HOT 4
- PR813 issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcm2niix.