CARLA
Classes | Static Public Member Functions | Private Types | Static Private Member Functions | List of all members
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 = 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)
 
template<typename SrcViewT , typename DstPixelT = typename SrcViewT::value_type>
static auto MakeColorConvertedView (const SrcViewT &src, ColorConverter::CityScapesPalette cc)
 
template<typename ImageT >
static auto MakeView (ImageT &image)
 
static auto MakeView (sensor::data::ImageTmpl< sensor::data::Color > &image)
 
static auto MakeView (const 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 >
static auto carla::image::ImageView::_MakeColorConvertedView ( const SrcViewT &  src,
CC  cc 
)
inlinestaticprivate

Definition at line 91 of file ImageView.h.

References carla::image::ImageView::color_converted_type< SrcView, DstP, CC >::make().

+ Here is the call graph for this function:

◆ MakeColorConvertedView() [1/4]

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

Definition at line 58 of file ImageView.h.

◆ MakeColorConvertedView() [2/4]

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

Definition at line 63 of file ImageView.h.

◆ MakeColorConvertedView() [3/4]

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

Definition at line 68 of file ImageView.h.

◆ MakeColorConvertedView() [4/4]

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

Definition at line 74 of file ImageView.h.

◆ MakeView() [1/3]

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

Definition at line 45 of file ImageView.h.

◆ MakeView() [2/3]

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

Definition at line 49 of file ImageView.h.

◆ MakeView() [3/3]

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

Definition at line 53 of file ImageView.h.

◆ MakeViewFromSensorImage()

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

Definition at line 26 of file ImageView.h.

References sd.


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