comparison Framework/Toolbox/ImageToolbox.cpp @ 1288:d8c42e5e5843 bugs/2020-02-invisible-slice

Fixed clang errors
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 14 Feb 2020 15:30:36 +0100
parents ddb6676bbcbf
children 86400fa16091
comparison
equal deleted inserted replaced
1287:8e82fdc6200e 1288:d8c42e5e5843
40 using Orthanc::PixelTraits; 40 using Orthanc::PixelTraits;
41 using Orthanc::PixelFormat; 41 using Orthanc::PixelFormat;
42 using Orthanc::ImageAccessor; 42 using Orthanc::ImageAccessor;
43 using Orthanc::PixelFormat; 43 using Orthanc::PixelFormat;
44 44
45 template<typename PixelFormat Format> 45 template<typename Orthanc::PixelFormat Format>
46 class PixelBinner 46 class PixelBinner
47 { 47 {
48 // "PixelBinner requires an arithmetic (integer or floating-point) pixel format" 48 // "PixelBinner requires an arithmetic (integer or floating-point) pixel format"
49 typedef typename PixelTraits<Format>::PixelType PixelType; 49 typedef typename Orthanc::PixelTraits<Format>::PixelType PixelType;
50 BOOST_STATIC_ASSERT(boost::is_arithmetic<PixelType>::value); 50 BOOST_STATIC_ASSERT(boost::is_arithmetic<PixelType>::value);
51 51
52 public: 52 public:
53 PixelBinner(HistogramData& hd, double minValue, double maxValue) 53 PixelBinner(HistogramData& hd, double minValue, double maxValue)
54 : hd_(hd) 54 : hd_(hd)