Remove the modality prefix with StoreSCP

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
cappa1983
Posts: 5
Joined: Thu, 2018-09-13, 07:57

Remove the modality prefix with StoreSCP

#1 Post by cappa1983 »

Hi All,

I've trying to see how I can remove the two letter modality from the output DCM files that are crated with StoreSCP.

I've looked at the

Code: Select all

-uf
option, but that does not save the file with just the SOP Instance UID, but prefixes the modality type.

Current output example: CR.1.2.840.1654...
Desired output: 1.2.840.1654.....

Is that possible with version v3.6.4

thanks!

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

Re: Remove the modality prefix with StoreSCP

#2 Post by J. Riesmeier »

There is no such ready-to-use option in storescp (neither in dcmrecv), i.e. you have to modify the source code accordingly.

cappa1983
Posts: 5
Joined: Thu, 2018-09-13, 07:57

Re: Remove the modality prefix with StoreSCP

#3 Post by cappa1983 »

Thanks, for the info! I'll look into the code for that.

Post Reply

Who is online

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