Lossy Compression(New SOP Instance UID Created)

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Akshaybar Singh
Posts: 13
Joined: Mon, 2014-03-03, 09:53

Lossy Compression(New SOP Instance UID Created)

#1 Post by Akshaybar Singh »

Dear All,

I am compression the DICOM file using DCMTK 3.6.0 withh Lossy Compression(EXS_JPEGProcess10_12TransferSyntax).

I have register the codec before going to compress the file. Lossy compression has been done by DCMTK but it creates NEW SOP INSTANCE UID for the same image update the tag (0008,0018) with new SOPInstanceUID.

My requirement is to not update SOPInstanceUID with new sopUID, it shall be with original SOP Instance UID.

Kindly help to do the same. How can stop the creation of new SOP Instance UID for Lossy Compression?



Thanks & Regards
Akshay

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Lossy Compression(New SOP Instance UID Created)

#2 Post by Michael Onken »

Hi,
Kindly help to do the same. How can stop the creation of new SOP Instance UID for Lossy Compression?
dcmcjpeg has an option to disable creation of a new SOP Instance UID (--uid-never). You can look into dcmcjpeg.cc how the parameter is handed over the compression codec if you want to do the same in your source code instead of using the tool.

Best,
Michael

Akshaybar Singh
Posts: 13
Joined: Mon, 2014-03-03, 09:53

Re: Lossy Compression(New SOP Instance UID Created)

#3 Post by Akshaybar Singh »

Michael Onken wrote:Hi,
Kindly help to do the same. How can stop the creation of new SOP Instance UID for Lossy Compression?
dcmcjpeg has an option to disable creation of a new SOP Instance UID (--uid-never). You can look into dcmcjpeg.cc how the parameter is handed over the compression codec if you want to do the same in your source code instead of using the tool.

Best,
Michael
Dear Michael,
Thanks a lot for prompt reply. I got solution.


Thanks & Regards
Akshay

Post Reply

Who is online

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