dicom_parser
dicom_parser copied to clipboard
CSA header tutorial
Hi
I'm trying to implement your csa header function. I followed the tutorial here:
https://github.com/open-dicom/dicom_parser/blob/main/docs/siemens/csa_headers.rst#id10
I have raw_csa that i need to read. However .parse() is no longer valid. Can you please help with reading the csa dictionary values like before. This is your example i found in dcm2nii forum:
from dicom_parser import Header header = Header(image) csa = header.get(("0029", "1010")) csa['B_matrix']
output: gives me a dictionary of values
Is there a tutorial or way to do this for raw_csa. Thank you for your help.
Kevin