codec registration

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
karun
Posts: 9
Joined: Mon, 2014-03-17, 09:18

codec registration

#1 Post by karun »

Hi ,

whats happening when we register a compression or decompression codec ??

for example

DJEncoderRegistration::registerCodecs(); // register JPEG codecs

J. Riesmeier
DCMTK Developer
Posts: 2501
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: codec registration

#2 Post by J. Riesmeier »

This call registers the supported encoders/decoders to the central list of codecs managed by the dcmdata module. By doing so, dcmdata is able to change the encoding by compressing/decompressing the pixel data of a DICOM dataset. This is usually done by calling chooseRepresentation() on the dataset. The DicomImage class does this internally, so it also supports compressed DICOM images after registration.

karun
Posts: 9
Joined: Mon, 2014-03-17, 09:18

Re: codec registration

#3 Post by karun »

Hi Riesmeier ,

Okkay i got it . :wink: we have to specify the transfer syntax and Representation Parameter through chooseRepresentation() , where internal data set maintained by DCMTK contains a collection of it .
right ???

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest