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
Lossy Compression(New SOP Instance UID Created)
Moderator: Moderator Team
-
- Posts: 13
- Joined: Mon, 2014-03-03, 09:53
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Lossy Compression(New SOP Instance UID Created)
Hi,
Best,
Michael
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.Kindly help to do the same. How can stop the creation of new SOP Instance UID for Lossy Compression?
Best,
Michael
-
- Posts: 13
- Joined: Mon, 2014-03-03, 09:53
Re: Lossy Compression(New SOP Instance UID Created)
Dear Michael,Michael Onken wrote:Hi,
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.Kindly help to do the same. How can stop the creation of new SOP Instance UID for Lossy Compression?
Best,
Michael
Thanks a lot for prompt reply. I got solution.
Thanks & Regards
Akshay
Who is online
Users browsing this forum: Google [Bot] and 1 guest