CARLA
Loading...
Searching...
No Matches
LibCarla
source
carla
sensor
data
sensor/data/Image.h
Go to the documentation of this file.
1
// Copyright (c) 2026 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
/// An image of single-channel float32 distances, in metres
29
using
DistanceImage
=
ImageTmpl<DistancePixel>
;
30
31
}
// namespace data
32
}
// namespace sensor
33
}
// namespace carla
ImageTmpl.h
carla::sensor::data::ImageTmpl
Templated image for any type of pixel.
Definition
ImageTmpl.h:25
carla
This file contains definitions of common data structures used in traffic manager.
Definition
SignComponent.h:21
Color.h
Generated by
1.9.8