Grassroots DiCoM i.e. GDCM based DICOM image reader is added.

This commit is contained in:
look4pritam
2015-04-20 17:57:57 +05:30
committed by Maksim Shabunin
parent 627e2b15b3
commit 6f22f49c02
7 changed files with 327 additions and 0 deletions
+6
View File
@@ -45,6 +45,9 @@
#include "precomp.hpp"
#include "grfmts.hpp"
#ifdef HAVE_GDCM
#include "gdcm_dicom.hpp"
#endif
#undef min
#undef max
#include <iostream>
@@ -93,6 +96,9 @@ struct ImageCodecInitializer
decoders.push_back( makePtr<PngDecoder>() );
encoders.push_back( makePtr<PngEncoder>() );
#endif
#ifdef HAVE_GDCM
decoders.push_back( makePtr<DICOMDecoder>() );
#endif
#ifdef HAVE_JASPER
decoders.push_back( makePtr<Jpeg2KDecoder>() );
encoders.push_back( makePtr<Jpeg2KEncoder>() );