Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1825:f0f8a94c0858 | 1826:ac5b0b4e2434 |
---|---|
124 void EmbedImage(const ImageAccessor& accessor); | 124 void EmbedImage(const ImageAccessor& accessor); |
125 | 125 |
126 void EmbedImage(const std::string& mime, | 126 void EmbedImage(const std::string& mime, |
127 const std::string& content); | 127 const std::string& content); |
128 | 128 |
129 void ExtractImage(ImageBuffer& result, | 129 ImageAccessor* ExtractImage(IDicomImageDecoder& decoder, |
130 IDicomImageDecoder& decoder, | 130 unsigned int frame); |
131 unsigned int frame); | |
132 | 131 |
133 void ExtractImage(ImageBuffer& result, | 132 ImageAccessor* ExtractImage(IDicomImageDecoder& decoder, |
134 IDicomImageDecoder& decoder, | 133 unsigned int frame, |
135 unsigned int frame, | 134 ImageExtractionMode mode); |
136 ImageExtractionMode mode); | |
137 | 135 |
138 void ExtractPngImage(std::string& result, | 136 void ExtractPngImage(std::string& result, |
139 IDicomImageDecoder& decoder, | 137 IDicomImageDecoder& decoder, |
140 unsigned int frame, | 138 unsigned int frame, |
141 ImageExtractionMode mode); | 139 ImageExtractionMode mode); |