Import general PDF files and turn them into DICOM PDF format is not much different to import other file formats, i.e. windows Bitmap and Jpeg images.
Based on the DICOM supplement 104, we made two small programs (VB6 using COM version and CSharp using .NET version) which demonstrate what attributes are needed for making a valid DICOM PDF file.
While DicomObjects can not create a Dicom Hierarchical SOP Instance dataset collection directly, however it can do much of the work for you. A Hierarchical SOP Instance Dataset collection are similar in structure to a DicomDir which DicomObjects can create automatically.
To create a DICOM Image Histogram Module, users of DicomObjects can use the DicomImage.Histogram method, which returns an array containing the distribution of the raw pixel values.
Shutters are a means to “black out” areas of an image outside the area of interest, and are defined in DICOM and in presentation states.
There are some significant changes in our Version 8 if you are upgrading from an older version.
Sample code for general purpose colour/opacity adjustment.
The result might not good good on particular data because this is intended purely for demonstration purposes!