17 template <
typename SrcViewT,
typename DstViewT>
18 static void CopyPixels(
const SrcViewT &src, DstViewT &dst) {
19 boost::gil::copy_pixels(src, dst);
22 template <
typename ColorConverter,
typename MutableImageView>
24 MutableImageView &image_view,
26 using DstPixelT =
typename MutableImageView::value_type;
28 ImageView::MakeColorConvertedView<MutableImageView, DstPixelT>(image_view, converter),
This file contains definitions of common data structures used in traffic manager. ...
static void ConvertInPlace(MutableImageView &image_view, ColorConverter converter=ColorConverter())
static void CopyPixels(const SrcViewT &src, DstViewT &dst)