Namespaces | |
| legacy | |
Classes | |
| struct | CameraCalibration |
| class | Channel |
| struct | Image |
| Represents a single image plus metadata. More... | |
| struct | ImageFrame |
| A frame containing multiple images (indexed by DataSource). More... | |
| struct | ImuFrame |
| A collection of IMU samples from the camera. More... | |
| struct | ImuRange |
| The range for each sensor along with the corresponding sampling resolution. More... | |
| struct | ImuRate |
| A sample rate, and what impact it has on bandwidth. More... | |
| struct | ImuSample |
| A single IMU sample from the camera. More... | |
| struct | MultiSenseConfig |
| Complete configuration object for configuring the MultiSense. Can be updated during camera operation. More... | |
| struct | MultiSenseInfo |
| Static status info for the MultiSense. Will not change during camera operation. More... | |
| struct | MultiSenseStatus |
| Consolidated status information which can be queried on demand from the MultiSense. Will change during camera operation. More... | |
| struct | Point |
| Single point definition with a custom color type. More... | |
| struct | Point< void > |
| Single point definition with no color. More... | |
| struct | PointCloud |
| struct | StereoCalibration |
Typedefs | |
| using | TimeT = std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds > |
Functions | |
| std::optional< Image > | create_bgr_from_ycbcr420 (const Image &luma, const Image &chroma, const DataSource &output_source) |
| Convert a YCbCr420 luma + chroma image into a BGR color image. More... | |
| std::optional< Image > | create_bgr_image (const ImageFrame &frame, const DataSource &output_source) |
| Convert a YCbCr420 luma + chroma image into a BGR color image. More... | |
| template<typename Color > | |
| MULTISENSE_API std::optional< PointCloud< Color > > | create_color_pointcloud (const Image &disparity, const std::optional< Image > &color, double max_range, const StereoCalibration &calibration) |
| Create a point cloud from a image frame and a color source. More... | |
| template<typename Color > | |
| MULTISENSE_API std::optional< PointCloud< Color > > | create_color_pointcloud (const ImageFrame &frame, double max_range, const DataSource &color_source=DataSource::UNKNOWN, const DataSource &disparity_source=DataSource::LEFT_DISPARITY_RAW) |
| Create a point cloud from a image frame and a color source. More... | |
| std::optional< Image > | create_depth_image (const ImageFrame &frame, const Image::PixelFormat &depth_format, const DataSource &disparity_source=DataSource::LEFT_DISPARITY_RAW, float invalid_value=0) |
| Create a depth image from a image frame. More... | |
| std::optional< PointCloud< void > > | create_pointcloud (const ImageFrame &frame, double max_range, const DataSource &disparity_source) |
| NLOHMANN_JSON_SERIALIZE_ENUM (Status, { {Status::UNKNOWN, "UNKNOWN"}, {Status::OK, "OK"}, {Status::TIMEOUT, "TIMEOUT"}, {Status::INTERNAL_ERROR, "INTERNAL_ERROR"}, {Status::FAILED, "FAILED"}, {Status::UNSUPPORTED, "UNSUPPORTED"}, {Status::EXCEPTION, "EXCEPTION"}, {Status::UNINITIALIZED, "UNINITIALIZED"}, {Status::INCOMPLETE_APPLICATION, "INCOMPLETE_APPLICATION"} }) NLOHMANN_JSON_SERIALIZE_ENUM(DataSource | |
| std::string | to_string (const Status &status) |
| Convert a status object to a user readable string. More... | |
| bool | write_image (const Image &image, const std::filesystem::path &path) |
| Write a image to a specific path on disk. The type of serialization is determined by the input path. More... | |
| template<typename Color > | |
| MULTISENSE_API bool | write_pointcloud_ply (const PointCloud< Color > &point_cloud, const std::filesystem::path &path) |
| Write a point cloud to a ASCII ply file. More... | |
| using multisense::TimeT = typedef std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> |
Definition at line 65 of file LibMultiSense/include/MultiSense/MultiSenseTypes.hh.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| YCBCR420 | |
Definition at line 109 of file LibMultiSense/include/MultiSense/MultiSenseTypes.hh.
|
strong |
Identifies which camera or data source the image is from.
Definition at line 83 of file LibMultiSense/include/MultiSense/MultiSenseTypes.hh.
|
strong |
| Enumerator | |
|---|---|
| UNKNOWN | |
| OK | |
| TIMEOUT | |
| INTERNAL_ERROR | |
| FAILED | |
| UNSUPPORTED | |
| EXCEPTION | |
| UNINITIALIZED | |
| INCOMPLETE_APPLICATION | |
Definition at line 67 of file LibMultiSense/include/MultiSense/MultiSenseTypes.hh.
| MULTISENSE_API std::optional< Image > multisense::create_bgr_from_ycbcr420 | ( | const Image & | luma, |
| const Image & | chroma, | ||
| const DataSource & | output_source | ||
| ) |
Convert a YCbCr420 luma + chroma image into a BGR color image.
Definition at line 292 of file utilities.cc.
| MULTISENSE_API std::optional< Image > multisense::create_bgr_image | ( | const ImageFrame & | frame, |
| const DataSource & | output_source | ||
| ) |
Convert a YCbCr420 luma + chroma image into a BGR color image.
Definition at line 340 of file utilities.cc.
| MULTISENSE_API std::optional<PointCloud<Color> > multisense::create_color_pointcloud | ( | const Image & | disparity, |
| const std::optional< Image > & | color, | ||
| double | max_range, | ||
| const StereoCalibration & | calibration | ||
| ) |
Create a point cloud from a image frame and a color source.
Definition at line 126 of file MultiSenseUtilities.hh.
| MULTISENSE_API std::optional<PointCloud<Color> > multisense::create_color_pointcloud | ( | const ImageFrame & | frame, |
| double | max_range, | ||
| const DataSource & | color_source = DataSource::UNKNOWN, |
||
| const DataSource & | disparity_source = DataSource::LEFT_DISPARITY_RAW |
||
| ) |
Create a point cloud from a image frame and a color source.
Definition at line 240 of file MultiSenseUtilities.hh.
| MULTISENSE_API std::optional< Image > multisense::create_depth_image | ( | const ImageFrame & | frame, |
| const Image::PixelFormat & | depth_format, | ||
| const DataSource & | disparity_source = DataSource::LEFT_DISPARITY_RAW, |
||
| float | invalid_value = 0 |
||
| ) |
Create a depth image from a image frame.
| depth_format | Supported formats include MONO16 and FLOAT32. Note MONO16 will be quantized to millimeters) |
| invalid_value | The value to set invalid depth measurements to. (i.e. points where disparity = 0) |
Definition at line 191 of file utilities.cc.
| MULTISENSE_API std::optional< PointCloud< void > > multisense::create_pointcloud | ( | const ImageFrame & | frame, |
| double | max_range, | ||
| const DataSource & | disparity_source | ||
| ) |
Definition at line 373 of file utilities.cc.
| multisense::NLOHMANN_JSON_SERIALIZE_ENUM | ( | Status | , |
| { {Status::UNKNOWN, "UNKNOWN"}, {Status::OK, "OK"}, {Status::TIMEOUT, "TIMEOUT"}, {Status::INTERNAL_ERROR, "INTERNAL_ERROR"}, {Status::FAILED, "FAILED"}, {Status::UNSUPPORTED, "UNSUPPORTED"}, {Status::EXCEPTION, "EXCEPTION"}, {Status::UNINITIALIZED, "UNINITIALIZED"}, {Status::INCOMPLETE_APPLICATION, "INCOMPLETE_APPLICATION"} } | |||
| ) |
| MULTISENSE_API std::string multisense::to_string | ( | const Status & | status | ) |
Convert a status object to a user readable string.
Definition at line 137 of file utilities.cc.
| MULTISENSE_API bool multisense::write_image | ( | const Image & | image, |
| const std::filesystem::path & | path | ||
| ) |
Write a image to a specific path on disk. The type of serialization is determined by the input path.
Definition at line 176 of file utilities.cc.
| MULTISENSE_API bool multisense::write_pointcloud_ply | ( | const PointCloud< Color > & | point_cloud, |
| const std::filesystem::path & | path | ||
| ) |
Write a point cloud to a ASCII ply file.
Definition at line 276 of file MultiSenseUtilities.hh.