Mercurial > hg > orthanc-stone
diff Framework/Toolbox/DicomFrameConverter.cpp @ 11:4b7e0244881f
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 Oct 2016 12:14:03 +0200 |
parents | 351ab0da0150 |
children | ff1e935768e7 |
line wrap: on
line diff
--- a/Framework/Toolbox/DicomFrameConverter.cpp Mon Oct 24 14:45:05 2016 +0200 +++ b/Framework/Toolbox/DicomFrameConverter.cpp Wed Oct 26 12:14:03 2016 +0200 @@ -132,7 +132,8 @@ // This is the case of a grayscale frame. Convert it to Float32. std::auto_ptr<Orthanc::Image> converted(new Orthanc::Image(Orthanc::PixelFormat_Float32, source->GetWidth(), - source->GetHeight())); + source->GetHeight(), + false)); Orthanc::ImageProcessing::Convert(*converted, *source); source.reset(NULL); // We don't need the source frame anymore