Search found 4 matches

by martinb
Fri, 2022-06-03, 12:23
Forum: DCMTK - General
Topic: Problem with Pixel Representation while creating a Dicom
Replies: 8
Views: 6044

Re: Problem with Pixel Representation while creating a Dicom

Hello Admin and hello Mr Riesmeier, thanks a lot for both of your answers. One problem is that your dataset does not contain a SOP Instance UID, which is absolutely required. Another problem is that you are adding the transfer syntax UID to the dataset, where it does not belong. This should be in th...
by martinb
Tue, 2022-05-31, 21:51
Forum: DCMTK - General
Topic: Problem with Pixel Representation while creating a Dicom
Replies: 8
Views: 6044

Re: Problem with Pixel Representation while creating a Dicom

Hello Marco, We're getting there thanks to your precious help. I have one last issue though : I only obtain a single frame dicom although all the data are stored inside. I think this may come from the fact that there is no way to differentiate where the next frame starts in the byte area. Or maybe I...
by martinb
Tue, 2022-05-31, 08:31
Forum: DCMTK - General
Topic: Problem with Pixel Representation while creating a Dicom
Replies: 8
Views: 6044

Re: Problem with Pixel Representation while creating a Dicom

Hello Marco and thanks a lot for your response ! So, if I understood correctly, I should be doing the following code ? Registering encoders : DJEncoderRegistration::registerCodecs(); DJ_RPLossless params; // Could be lossy depending on the situation, as you said Declare all variables : DcmFileFormat...
by martinb
Tue, 2022-05-24, 08:40
Forum: DCMTK - General
Topic: Problem with Pixel Representation while creating a Dicom
Replies: 8
Views: 6044

Problem with Pixel Representation while creating a Dicom

Hello everyone, I'm fairly new to dcmtk - but not to dicom itself - and I'm having a problem while writing a multiframe dicom from multiple jpeg images. Here is the simplified code to help you understand my issue (i'm using some wizardry because we are still using C++98 and I can only use specific l...