31 lines
867 B
C++
31 lines
867 B
C++
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
|
|
// de Barcelona (UAB).
|
|
//
|
|
// This work is licensed under the terms of the MIT license.
|
|
// For a copy, see <https://opensource.org/licenses/MIT>.
|
|
|
|
#pragma once
|
|
|
|
#include "carla/sensor/data/Color.h"
|
|
#include "carla/sensor/data/ImageTmpl.h"
|
|
|
|
namespace carla {
|
|
namespace sensor {
|
|
namespace data {
|
|
|
|
/// An image of 32-bit BGRA colors (8-bit channels, 4 bytes)
|
|
using Image = ImageTmpl<Color>;
|
|
|
|
/// An image of float BGRA colors (32-bit channels)
|
|
using FloatImage = ImageTmpl<rpc::FloatColor>;
|
|
|
|
/// An image of 64-bit BGRA colors (16-bit channels, 2 floats)
|
|
using OpticalFlowImage = ImageTmpl<OpticalFlowPixel>;
|
|
|
|
/// An image of 32-bit BGRA colors (8-bit channels, 4 bytes)
|
|
using NormalsImage = ImageTmpl<Color>;
|
|
|
|
} // namespace data
|
|
} // namespace sensor
|
|
} // namespace carla
|