Does function DJEncoderRegistration::registerCodecs and DcmDataset::chooseRepresentation set appropriate values to following tags ?
Or need to set directly using DcmElement::putString?
Image Type (0008,0008)
Lossy Image Compression (0028,2110)
Lossy Image Compression Ratio (0028,2112)
Lossy Image Compression Method (0028,2114)
For example, DICOM PS3.3 said "If an image is a compressed version of another image, Lossy Image Compression (0028,2110) is set to "01", Value 1 of the Attribute Image Type (0008,0008) shall be set to DERIVED".
So if image was decompressed to JPEG Lossy image by store scu, Image Type Tag need to be set "DERIVED\SECONDARY".
And in this case, Lossy Image Compression (0028,2110) should be "01", Lossy Image Compression Method (0028,2114) should be "ISO_10918_1".
Two functions set these values automatically?
Best Regards,
registerCodecs and chooseRepresentation set tags by itself?
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2051
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: registerCodecs and chooseRepresentation set tags by itse
Hi,
Yes, the tags mentioned are modified automomatically if the compression/decompression is performed by a particular codec.
Best,
Michael
Yes, the tags mentioned are modified automomatically if the compression/decompression is performed by a particular codec.
Best,
Michael
Re: registerCodecs and chooseRepresentation set tags by itse
Dear Michael,
Thanks to you, I can use this smart function without setting those tags.
Thank you for your answer.
Best Regards,
Yusuke
Thanks to you, I can use this smart function without setting those tags.
Thank you for your answer.
Best Regards,
Yusuke
Who is online
Users browsing this forum: Bing [Bot] and 1 guest