I'm trying to read and plot some DICOM files using Pydicom and GDCM handler, but I get an error although I have GDCM installed on my system (mac os x) through conda:
$ conda install gdcm -c conda-forge
And this is what I get:
RuntimeError: The following handlers are available to decode the pixel data however they are missing required dependencies: GDCM (req. GDCM)
This error was raised when calling pixel_array() to decode the pixel data.
So, I specified the handler name by overwriting the dataset.py (passed handler_name='gdcm' as an input to convert_pixel_data) but still, I get:
RuntimeError: The pixel data handler 'gdcm' is not available on your system. Please refer to the pydicom documentation for information on installing needed packages.
Attempting to import gdcm in my python interpreter throws an ImportError while opening the library (referenced from libgdcmCommon.2.8.dylib):
Library not loaded: @rpath/libcrypto.1.1.dylib
Reason: image not found
Also, I can't use other handlers like pillow due to the Transfer Syntax UID of my data ('1.2.840.10008.1.2.4.70' (JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1]))
I'm trying to read and plot some DICOM files using Pydicom and GDCM handler, but I get an error although I have GDCM installed on my system (mac os x) through conda:
$ conda install gdcm -c conda-forge
And this is what I get:This error was raised when calling pixel_array() to decode the pixel data. So, I specified the handler name by overwriting the dataset.py (passed handler_name='gdcm' as an input to convert_pixel_data) but still, I get:
Attempting to import gdcm in my python interpreter throws an ImportError while opening the library (referenced from libgdcmCommon.2.8.dylib):
Also, I can't use other handlers like pillow due to the Transfer Syntax UID of my data ('1.2.840.10008.1.2.4.70' (JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1]))