diff OrthancServer/ParsedDicomFile.h @ 1826:ac5b0b4e2434

refactoring of DicomImageDecoder
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Nov 2015 16:00:57 +0100
parents b530c3dfe2a6
children 3ae2ff249675
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.h	Wed Nov 25 14:24:26 2015 +0100
+++ b/OrthancServer/ParsedDicomFile.h	Wed Nov 25 16:00:57 2015 +0100
@@ -126,14 +126,12 @@
     void EmbedImage(const std::string& mime,
                     const std::string& content);
 
-    void ExtractImage(ImageBuffer& result,
-                      IDicomImageDecoder& decoder,
-                      unsigned int frame);
+    ImageAccessor* ExtractImage(IDicomImageDecoder& decoder,
+                                unsigned int frame);
 
-    void ExtractImage(ImageBuffer& result,
-                      IDicomImageDecoder& decoder,
-                      unsigned int frame,
-                      ImageExtractionMode mode);
+    ImageAccessor* ExtractImage(IDicomImageDecoder& decoder,
+                                unsigned int frame,
+                                ImageExtractionMode mode);
 
     void ExtractPngImage(std::string& result,
                          IDicomImageDecoder& decoder,