Mercurial > hg > orthanc-stone
diff Applications/Samples/SingleFrameApplication.h @ 147:f48c5d422d45 wasm
removed meaningless ImageInterpolation_Linear value
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 23 Jan 2018 17:50:19 +0100 |
parents | e2fe9352f240 |
children | fccffbf99ba1 |
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameApplication.h Mon Jan 22 17:30:34 2018 +0100 +++ b/Applications/Samples/SingleFrameApplication.h Tue Jan 23 17:50:19 2018 +0100 @@ -223,7 +223,7 @@ ("frame", boost::program_options::value<unsigned int>()->default_value(0), "Number of the frame, for multi-frame DICOM instances") ("smooth", boost::program_options::value<bool>()->default_value(true), - "Enable linear interpolation to smooth the image") + "Enable bilinear interpolation to smooth the image") ; options.add(generic); @@ -262,7 +262,7 @@ if (parameters["smooth"].as<bool>()) { - s.interpolation_ = ImageInterpolation_Linear; + s.interpolation_ = ImageInterpolation_Bilinear; } //s.drawGrid_ = true; @@ -302,7 +302,7 @@ s.alpha_ = 0.5; s.applyLut_ = true; s.lut_ = Orthanc::EmbeddedResources::COLORMAP_JET; - s.interpolation_ = ImageInterpolation_Linear; + s.interpolation_ = ImageInterpolation_Bilinear; widget->SetLayerStyle(1, s); } #endif