Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/DicomFrameConverter.cpp @ 33:12987d11be33
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 19 Dec 2016 11:29:23 +0100 |
parents | 517c46f527cd |
children | a865c7992a87 |
comparison
equal
deleted
inserted
replaced
32:517c46f527cd | 33:12987d11be33 |
---|---|
77 { | 77 { |
78 SetDefaultParameters(); | 78 SetDefaultParameters(); |
79 | 79 |
80 Vector c, w; | 80 Vector c, w; |
81 if (GeometryToolbox::ParseVector(c, dicom, OrthancPlugins::DICOM_TAG_WINDOW_CENTER) && | 81 if (GeometryToolbox::ParseVector(c, dicom, OrthancPlugins::DICOM_TAG_WINDOW_CENTER) && |
82 GeometryToolbox::ParseVector(c, dicom, OrthancPlugins::DICOM_TAG_WINDOW_WIDTH)) | 82 GeometryToolbox::ParseVector(w, dicom, OrthancPlugins::DICOM_TAG_WINDOW_WIDTH)) |
83 { | 83 { |
84 if (c.size() > 0 && | 84 if (c.size() > 0 && |
85 w.size() > 0) | 85 w.size() > 0) |
86 { | 86 { |
87 defaultWindowCenter_ = static_cast<float>(c[0]); | 87 defaultWindowCenter_ = static_cast<float>(c[0]); |