Comments (3)
The single-band reference is useful because it has more contrast and signal than the subsequent multi-band image. However, you want to save them separately as they do not share the TR, T1-weighting, etc of the subsequent multi-band images. dcm2niix uses ICE_Dims to detect scans. Following Siemens convention for derived images, the series number for SBRef images is incremented by +1000 to disambiguate from the other series.
from dcm2niix.
Thank you for your quick response.
Do you know how I could access the ICE_DIMS tag manually?
I've tried the below
dataset = pydicom.dcmread(filepath)
print(dataset[0x0021,0x1106])
and have gotten the error:
Traceback (most recent call last):
File "dicom_loop.py", line 66, in <module>
print_dicom_metadata(directory)
File "dicom_loop.py", line 43, in print_dicom_metadata
print(dataset[0x0021,0x1106])
File "/home/lsanlab/.local/lib/python3.7/site-packages/pydicom/dataset.py", line 852, in __getitem__
data_elem = self._dict[tag]
KeyError: (0021, 1106)
So it seems like my dicom files do not have this 0021,1106 tag (as described in the link you shared). Although this might be because our manufacturer model is 'MAGNETOM Prisma Fit' so I am probably using V-series dicoms (not X-series)?..
I am a bit new to sorting out dicom file types, so thank you for your help. Also, if you have any other ideas on how to manually exclude SBRef dicom files from a dataset, please pitch in. Right now my idea is just to loop through all the dicom files in the dataset, and remove files that match a certain "SBRef-identifying" criteria. (The only trouble here is finding the right criteria..)
from dcm2niix.
The Prisma can run either V-generation (e.g. VE11) or XA (XA30). I would reach out to the Siemens Research Collaboration Manager affiliated with your center to gain insight. You can convert the main DICOM header to a text file with gdcmdump:
gdcmdump img.dcm > hdr.txt
For V-generation, the proprietary CSA header includes a lot of details:
gdcmdump --csa img.dcm > hdr.txt
from dcm2niix.
Related Issues (20)
- How sform is calculate? HOT 2
- PyPI missing releases newer than v1.0.20220715 HOT 4
- Failed conversion with Error: Check sorted order: 4D dataset has 1 volumes, but volume index ranges from 1..### HOT 5
- 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
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.