29 intrinsics_(intrinsics),
36 intrinsics_ = intrinsics;
44 if (data_.count(
name) == 0) {
46 "Property not found for {}, return an empty tensor!",
name);
49 return data_.at(
name);
75 std::unordered_map<std::string, core::Tensor> data_;
#define LogWarning(...)
Definition: Logging.h:60
The Image class stores image with customizable rows, cols, channels, dtype and device.
Definition: Image.h:29
Frame is a container class storing an intrinsic matrix and several 2D tensors, from depth map,...
Definition: Frame.h:21
void SetDataFromImage(const std::string &name, const t::geometry::Image &data)
Definition: Frame.h:53
void SetData(const std::string &name, const core::Tensor &data)
Definition: Frame.h:40
int GetHeight() const
Definition: Frame.h:32
t::geometry::Image GetDataAsImage(const std::string &name) const
Definition: Frame.h:58
int GetWidth() const
Definition: Frame.h:33
core::Tensor GetData(const std::string &name) const
Definition: Frame.h:43
void SetIntrinsics(const core::Tensor &intrinsics)
Definition: Frame.h:35
core::Tensor GetIntrinsics() const
Definition: Frame.h:38
Frame(int height, int width, const core::Tensor &intrinsics, const core::Device &device)
Definition: Frame.h:23
const char const char value recording_handle imu_sample recording_handle uint8_t data
Definition: K4aPlugin.cpp:269
Definition: PinholeCameraIntrinsic.cpp:16