This article provides help for those wishing to use the 64 bit version of DicomObjects from Visual Studio (for development in any supported language, including C# or C++)
We are often asked how to retrieve the pixel data of a DicomImage into a Byte array. The following code will load an image and copy the pixel data into a byte array.
Sorting Images in DicomObjects is quite different in COM and .NET versions, due to the different structures of the collections which hold them.
Microsoft has defined that you cannot use the overloaded syntax for the tag to load .
Any ‘valid’ Dicom Image is a conglomeration of Pixel data and several mandatory data attributes.
Conversion of a DicomObjects ActiveX/COM project to .NET looks initially daunting, but in fact is quite simple, and for those using any of the complicated ActionComplete/ActionUpdate mechanisms and asynchronous DicomConnection objects will find that the resulting code is lot simpler and easier to maintain after conversion.