Comments (2)
I have added a patch to the development version that should fix this issue:
git clone --branch development https://github.com/rordenlab/dcm2niix.git
cd dcm2niix
mkdir build && cd build
cmake ..
make
In the past, an error was generated, and I believe this terminates Dcm2Bids
printError("Photometric Interpretation 'PALETTE COLOR' not supported\n");
the new version should simply generate a warning and skip these images:
printWarning("Photometric Interpretation 'PALETTE COLOR' not supported\n");
Palette colors are always low precision, and do not have a direct equivalent in NIfTI. One could convert these to RGB images which do exist in NIfTI, but few NIfTI tools handle these and the precision remains low. In my experience, palette colors are only used for derived images, and therefore you want to skip these files and convert the high-precision raw data (which should yield better derived values after processing).
In my experience, palette colors is exceptionally rare. You may want to work out the providence of these images and see if there is a way to store them in more common format.
from dcm2bids.
I think I resolved this. I think it was the dicoms (possibly the way they were retrieved, stored, downloaded, not sure). It now works. There are a lot of derivatives that are included with the dicoms so I filter out using -i switch in dcm2niix. Thanks for all the help
from dcm2bids.
Related Issues (20)
- Should this line be pointing to one of the sidecar files? HOT 2
- Typos in some files of the scaffold raise errors on the validator
- Creating several 3D images instead of a single 4D image. HOT 2
- New features or enh for next release
- post_op HOT 6
- Provide a Docker image that includes pydeface HOT 4
- [BUG] dcmbids binary
- Processing order issue ? ```"IntendedFor" No id found for 'IntendedFor' value 'XX'``` HOT 4
- KeyError: 'datatype' HOT 1
- TypeError in Acquisition.init() when running dcm2bids HOT 1
- `sidecar_changes` do not fetch all matches of the referenced description
- Error: Too many NIFTI images with the name HOT 1
- compKeys default for run numbering doesn't seem like a good one HOT 1
- Subprocess Error Assistance HOT 3
- Allowing for post_op command's output to be printed to stdout HOT 2
- Script removes task information from filenames. HOT 8
- bids validator not working properly HOT 8
- Fix GHA
- Document new (and old) features
- Maybe a tab error HOT 1
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 dcm2bids.