CARLA
Toggle main menu visibility
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::sensor::data
Definition
ROS2.h:33
carla::sensor::data::DistanceImage
ImageTmpl< DistancePixel > DistanceImage
An image of single-channel float32 distances, in metres.
Definition
sensor/data/Image.h:29
carla::sensor::data::OpticalFlowImage
ImageTmpl< OpticalFlowPixel > OpticalFlowImage
An image of 64-bit BGRA colors (16-bit channels, 2 floats).
Definition
sensor/data/Image.h:23
carla::sensor::data::FloatImage
ImageTmpl< rpc::FloatColor > FloatImage
An image of float BGRA colors (32-bit channels).
Definition
sensor/data/Image.h:20
carla::sensor::data::NormalsImage
ImageTmpl< Color > NormalsImage
An image of 32-bit BGRA colors (8-bit channels, 4 bytes).
Definition
sensor/data/Image.h:26
carla::sensor::data::Image
ImageTmpl< Color > Image
An image of 32-bit BGRA colors (8-bit channels, 4 bytes).
Definition
sensor/data/Image.h:17
carla::sensor
Definition
client/detail/Client.h:58
carla
This file contains definitions of common data structures used in traffic manager.
Definition
SignComponent.h:21
Color.h
Generated by
1.18.0