Comments (1)
Hi @EnriqueFV, thanks for raising an issue.
Currently, the orientation of the DICOMs is hard-coded – see here. I haven't implemented a more general solution to this yet. If you are familiar enough with Python, you could edit that line in nii2dcm
or create a new --dicom-type
(see svr.py for an example) where you override the default ImageOrientationPatient
value.
One other thing which may or may not be useful: within ITK-Snap, you can play with orientation by going to: Tools > Reorient Image ...
This brings up the following menu where you can set and swap between orientations:
However, to my knowledge, you can't use this to save a new DICOM dataset with an altered orientation.
from nii2dcm.
Related Issues (20)
- B dcm_dictionary_update() function to HOT 1
- Improve dcm_dictionary_update() implementation HOT 1
- Create code build GitHub Action
- Create GitHub Action to test running of nii2dcm HOT 1
- Add in reference DICOM functionality
- Add checks to ensure robustness DICOM Attributes defined in multiple Modules
- Add in Logger
- Ensure output files end in .dcm
- Create TestPyPI build GHA HOT 1
- Create PyPI build GHA
- AttributeError using reference dicom HOT 3
- dunamai RuntimeError and UnboundLocalError: local variable 'nZ' referenced before assignment HOT 9
- git exception after pip install HOT 5
- dicom_type for CT? HOT 2
- Add enhanced DICOM output HOT 1
- EOFError: Compressed file ended before the end-of-stream marker was reached HOT 2
- Issues with translation of images HOT 4
- Outputs not in .dcm? HOT 3
- Improve dcm.py inheritance
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 nii2dcm.