Closed christianhahnsft22 closed 2 years ago
If you don't have any file metainformation, the library isn't going to read it out of the box as it's nonstandard DICOM. However, if you know the transfer syntax you can call the appropriate parse method (parseDicomDataSetExplicit or parseDicomDataSetImplicit) directly. You'll have to do something like what the readDicom method does.
When I try to read a dataset without the FMI information I get the following error: Status: Error - dicomParser.readFixedString: attempt to read past end of buffer (file of size 0 KB )
I'm using dcm4che library to compose a sample dataset which can contain only some attributes (f.e. a dataset without SOPInstanceUID/SOPClassUID) which I want to parse then with dicomParser.
sample dcm4che code: