CARLA
Loading...
Searching...
No Matches
carla::image::ImageView Class Reference

#include <ImageView.h>

Classes

struct  color_converted_type

Static Public Member Functions

template<typename SrcViewT, typename DstPixelT, typename CC>
static auto MakeColorConvertedView (const SrcViewT &src, CC cc)
template<typename SrcViewT, typename DstPixelT = typename SrcViewT::value_type>
static auto MakeColorConvertedView (const SrcViewT &src, ColorConverter::CityScapesPalette cc)
template<typename SrcViewT, typename DstPixelT = GrayPixelLayout<SrcViewT>>
static auto MakeColorConvertedView (const SrcViewT &src, ColorConverter::Depth cc)
template<typename SrcViewT, typename DstPixelT = GrayPixelLayout<SrcViewT>>
static auto MakeColorConvertedView (const SrcViewT &src, ColorConverter::LogarithmicDepth)
static auto MakeView (const sensor::data::ImageTmpl< sensor::data::Color > &image)
template<typename ImageT>
static auto MakeView (ImageT &image)
static auto MakeView (sensor::data::ImageTmpl< sensor::data::Color > &image)

Private Types

template<typename SrcViewT>
using GrayPixelLayout = boost::gil::pixel<typename boost::gil::channel_type<SrcViewT>::type, boost::gil::gray_layout_t>

Static Private Member Functions

template<typename DstPixelT, typename SrcViewT, typename CC>
static auto _MakeColorConvertedView (const SrcViewT &src, CC cc)
template<typename DstPixelT, typename ImageT>
static auto MakeViewFromSensorImage (ImageT &image)

Detailed Description

Definition at line 19 of file ImageView.h.

Member Typedef Documentation

◆ GrayPixelLayout

template<typename SrcViewT>
using carla::image::ImageView::GrayPixelLayout = boost::gil::pixel<typename boost::gil::channel_type<SrcViewT>::type, boost::gil::gray_layout_t>
private

Definition at line 23 of file ImageView.h.

Member Function Documentation

◆ _MakeColorConvertedView()

template<typename DstPixelT, typename SrcViewT, typename CC>
auto carla::image::ImageView::_MakeColorConvertedView ( const SrcViewT & src,
CC cc )
inlinestaticprivate

◆ MakeColorConvertedView() [1/4]

template<typename SrcViewT, typename DstPixelT, typename CC>
auto carla::image::ImageView::MakeColorConvertedView ( const SrcViewT & src,
CC cc )
inlinestatic

Definition at line 58 of file ImageView.h.

References _MakeColorConvertedView().

Referenced by carla::image::ImageConverter::ConvertInPlace(), TEST(), and TEST().

◆ MakeColorConvertedView() [2/4]

template<typename SrcViewT, typename DstPixelT = typename SrcViewT::value_type>
auto carla::image::ImageView::MakeColorConvertedView ( const SrcViewT & src,
ColorConverter::CityScapesPalette cc )
inlinestatic

Definition at line 74 of file ImageView.h.

References _MakeColorConvertedView().

◆ MakeColorConvertedView() [3/4]

template<typename SrcViewT, typename DstPixelT = GrayPixelLayout<SrcViewT>>
auto carla::image::ImageView::MakeColorConvertedView ( const SrcViewT & src,
ColorConverter::Depth cc )
inlinestatic

Definition at line 63 of file ImageView.h.

References _MakeColorConvertedView().

◆ MakeColorConvertedView() [4/4]

template<typename SrcViewT, typename DstPixelT = GrayPixelLayout<SrcViewT>>
auto carla::image::ImageView::MakeColorConvertedView ( const SrcViewT & src,
ColorConverter::LogarithmicDepth  )
inlinestatic

Definition at line 68 of file ImageView.h.

References _MakeColorConvertedView().

◆ MakeView() [1/3]

auto carla::image::ImageView::MakeView ( const sensor::data::ImageTmpl< sensor::data::Color > & image)
inlinestatic

Definition at line 53 of file ImageView.h.

References MakeViewFromSensorImage().

◆ MakeView() [2/3]

template<typename ImageT>
auto carla::image::ImageView::MakeView ( ImageT & image)
inlinestatic

Definition at line 45 of file ImageView.h.

◆ MakeView() [3/3]

auto carla::image::ImageView::MakeView ( sensor::data::ImageTmpl< sensor::data::Color > & image)
inlinestatic

Definition at line 49 of file ImageView.h.

References MakeViewFromSensorImage().

◆ MakeViewFromSensorImage()

template<typename DstPixelT, typename ImageT>
auto carla::image::ImageView::MakeViewFromSensorImage ( ImageT & image)
inlinestaticprivate

Definition at line 26 of file ImageView.h.

Referenced by MakeView(), and MakeView().


The documentation for this class was generated from the following file: