|
The imaging part of our toolkits mainly deals with the pixel
data (bitmap images). It is not meant for handling other parts of the DICOM
data set. To build a medical application, you must use the DICOM Data Set group
of functions or objects in LEADTOOLS.
The tags of the data set are either volatile or
non-volatile. The volatile tags are directly related to the image (like width,
height, resolution, compression, etc.), these tags will be updated by the
toolkit when a new DICOM data set is generated. It is strongly recommended that
you don't try to modify these tags.
Non-volatile tags (like patient name, sex, age, address,
etc.) are safe to be modified.
If you want to recompress the image without losing the
non-volatile tags, then you can use the ChangeTransferSyntax function. Volatile
tags will be updated to match the new image compression.
Do you have a DICOM dataset? If yes, what does it contain,
and what exactly do you want it to contain?
Is the image to be compressed already in the DICOM Data Set,
or is it in a second data set, or is it in an image (non-DICOM) file?
|