One way or another, third-party libraries are also created from scratch, so, of course, you can create a solution for processing DICOM images without relying on any third-party libraries. However, the use of whole or parts of the open source library will certainly lead you to a functional solution in a much shorter time.
One third-party library referenced in the link you are linking to is mdcm . It is a relatively lightweight open source library with support for WPF (and Silverlight). If you want, I'm sure that you can extract these parts from this library that are relevant to your project.
Another lightweight library is Evil DICOM . I am not quite sure that this library has a lot of image processing functions.
MAY 31 UPDATE: SUMMARY OF THE DISCUSSION
mdcm is an open source library under the LGPL license. An example of using image rendering is given in the SL.DicomToXml (Silverlight) application, which is equally applicable to WPF applications. In code-behind MainPage , fileNameButton_Click
, there is code to demonstrate loading and rendering DICOM image files.
There is currently no updated binary distribution of mdcm, but it is fairly easy to compile the necessary libraries from a solution in mdcm . The source code can be obtained using Git or by downloading the latest version by clicking the ZIP button on the repository home page.
If you need to familiarize yourself with the details of DICOM image processing in more detail, then it is probably useful to start by examining the DICOM standard itself and also analyze the DICOM image file to get an idea of ββwhat information it contains. A good starting point is the official DICOM homepage . A brief introduction with links to the software is presented here . There is also a general, longer study guide here .
source share