CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
sensor
data
sensor/data/Image.h
浏览该文件的文档.
1
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#pragma once
8
9
#include "
carla/sensor/data/Color.h
"
10
#include "
carla/sensor/data/ImageTmpl.h
"
11
12
namespace
carla
{
13
namespace
sensor {
14
namespace
data {
15
16
/// An image of 32-bit BGRA colors (8-bit channels, 4 bytes)
17
using
Image
=
ImageTmpl<Color>
;
18
19
/// An image of float BGRA colors (32-bit channels)
20
using
FloatImage
=
ImageTmpl<rpc::FloatColor>
;
21
22
/// An image of 64-bit BGRA colors (16-bit channels, 2 floats)
23
using
OpticalFlowImage
=
ImageTmpl<OpticalFlowPixel>
;
24
25
/// An image of 32-bit BGRA colors (8-bit channels, 4 bytes)
26
using
NormalsImage
=
ImageTmpl<Color>
;
27
28
}
// namespace data
29
}
// namespace sensor
30
}
// namespace carla
ImageTmpl.h
carla::sensor::data::ImageTmpl
Templated image for any type of pixel.
Definition
ImageTmpl.h:24
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
Color.h
制作者
1.10.0