CARLA
Classes | Functions
test_image.cpp File Reference
#include "test.h"
#include <carla/image/ImageConverter.h>
#include <carla/image/ImageIO.h>
#include <carla/image/ImageView.h>
#include <memory>
+ Include dependency graph for test_image.cpp:

Go to the source code of this file.

Classes

struct  TestImage< ViewT, PixelT >
 

Functions

template<typename PixelT >
static auto MakeTestImage (size_t width, size_t height)
 
 TEST (image, support)
 
 TEST (image, depth)
 
 TEST (image, semantic_segmentation)
 

Function Documentation

◆ MakeTestImage()

template<typename PixelT >
static auto MakeTestImage ( size_t  width,
size_t  height 
)
static

◆ TEST() [1/3]

TEST ( image  ,
support   
)

Definition at line 35 of file test_image.cpp.

References carla::image::io::has_jpeg_support(), carla::image::io::has_png_support(), carla::image::io::has_tiff_support(), and carla::logging::log().

+ Here is the call graph for this function:

◆ TEST() [2/3]

TEST ( image  ,
depth   
)

Definition at line 43 of file test_image.cpp.

References carla::log_info().

+ Here is the call graph for this function:

◆ TEST() [3/3]

TEST ( image  ,
semantic_segmentation   
)

Definition at line 124 of file test_image.cpp.

References carla::road::element::GetColor().

+ Here is the call graph for this function: