transfer syntax and chooseRepresentation

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
hmmr
Posts: 5
Joined: Tue, 2012-11-27, 09:11

transfer syntax and chooseRepresentation

#1 Post by hmmr »

I want to change transfer syntaxes of the dataset and send it's by DcmSCU::sendSTORERequest(), but it's failed because chooseRepresentation() don't convert pixel data in real time.
How can I change TS of the pixel data without save dataset on the disk?

Shaeto
Posts: 147
Joined: Tue, 2009-01-20, 17:50
Location: CA, USA
Contact:

Re: transfer syntax and chooseRepresentation

#2 Post by Shaeto »

please check if you registered required codecs by RegisterCodecs, for example DJLSEncoderRegistration::registerCodecs
take a look at dcmimage/apps/dcm2pnm.cc

omarelgazzar
Posts: 101
Joined: Wed, 2009-07-08, 16:06
Location: Oldenburg, Germany

Re: transfer syntax and chooseRepresentation

#3 Post by omarelgazzar »

Also you may look at storescu when the compiler flag ON_THE_FLY_COMPRESSION is defined.

hmmr
Posts: 5
Joined: Tue, 2012-11-27, 09:11

Re: transfer syntax and chooseRepresentation

#4 Post by hmmr »

Thank you. The mistake was in another class, which prepares the data for dcmscu.
There calls deregistercodecs in the destructor.

Post Reply

Who is online

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