I have a list of files that are YBCR and JPEG2000 but gdcmconv and dcmtk tool are unable to read it.
This is the link to the file: https://drive.google.com/file/d/1Wjqsng ... drive_link
This is the code I tried to run:
Short answer: The public and freely available DCMTK does not support decompression of JPEG 2000-compressed DICOM images unless you use an extension such as DCMJP2K.
I am sorry, but I still don't know what you want to do and what you mean by "how to convert the SOP class". In order to help you, you should describe your problem in more detail, i.e. what do you want to achieve, what have you tried, what does not work, etc.
I humbly request to learn how to convert this tag in dicom (0008,0016) to another using dcmtk.
The SOP Class UID and SOP Instance UID Attributes are defined for all DICOM IODs. However, they are only encoded in Composite IODs with the Type equal to 1. See Section C.1.2.3. When encoded they shall be equal to their respective Attributes in the DIMSE Services and the File Meta Information header (see PS3.10 Media Storage).
Best Regards
George
Last edited by George on Thu, 2024-02-22, 10:05, edited 1 time in total.
I am sorry, but this very short explanation does not help (and it also makes no sense to me to "convert this tag in dicom"). Please describe in detail what you want to achieve. Otherwise no one will be able to help you in this regard.
I am trying to run gdcmtar but it keeps failing with this error Sorry MediaStorage not supported: [1.2.840.10008.5.1.4.1.1.77.1.6]
This means that the media is not supported in here becuase the tag of SOP Class in dicom (0008,0016) is not supported so how do I convert
this tag to another that can be supported so I might be able to extract multiframe dicom images to single frame dicoms