Skip to main content

CombinedImageResult Struct

Result of building the combined inference image (target alone, or target+exemplar side-by-side). More...

Declaration​

struct moveit_pro::behaviors::CombinedImageResult { ... }

Included Headers​

#include <get_masks_2d_from_exemplar.hpp>

Public Constructors Index​

CombinedImageResult ()=default
CombinedImageResult (cv::Mat image, int combined_width, int original_target_width, int original_target_height, std::optional< ExemplarInfo > exemplar=std::nullopt)
CombinedImageResult (const CombinedImageResult &)=default
CombinedImageResult (CombinedImageResult &&) noexcept=default

Public Operators Index​

CombinedImageResult &operator= (const CombinedImageResult &)=default
CombinedImageResult &operator= (CombinedImageResult &&) noexcept=default

Public Member Attributes Index​

cv::Matimage

Combined image as cv::Mat RGB8 (target only when no exemplar; target+exemplar when exemplar present). More...

intcombined_width {}

Width of the combined image in pixels (equals target width when no exemplar). More...

intoriginal_target_width {}

Original target dimensions in pixels. More...

intoriginal_target_height {}
std::optional< ExemplarInfo >exemplar { std::nullopt }

Exemplar metadata; nullopt when no exemplar was provided. More...

Description​

Result of building the combined inference image (target alone, or target+exemplar side-by-side).

Definition at line 43 of file get_masks_2d_from_exemplar.hpp.

Public Constructors​

CombinedImageResult()​

moveit_pro::behaviors::CombinedImageResult::CombinedImageResult ()
default

Definition at line 45 of file get_masks_2d_from_exemplar.hpp.

CombinedImageResult()​

moveit_pro::behaviors::CombinedImageResult::CombinedImageResult (cv::Mat image, int combined_width, int original_target_width, int original_target_height, std::optional< ExemplarInfo > exemplar=std::nullopt)
inline

Definition at line 46 of file get_masks_2d_from_exemplar.hpp.

CombinedImageResult()​

moveit_pro::behaviors::CombinedImageResult::CombinedImageResult (const CombinedImageResult &)
default

Definition at line 55 of file get_masks_2d_from_exemplar.hpp.

CombinedImageResult()​

moveit_pro::behaviors::CombinedImageResult::CombinedImageResult (CombinedImageResult &&)
noexcept default

Definition at line 57 of file get_masks_2d_from_exemplar.hpp.

Public Operators​

operator=()​

CombinedImageResult & moveit_pro::behaviors::CombinedImageResult::operator= (const CombinedImageResult &)
default

Definition at line 56 of file get_masks_2d_from_exemplar.hpp.

operator=()​

CombinedImageResult & moveit_pro::behaviors::CombinedImageResult::operator= (CombinedImageResult &&)
noexcept default

Definition at line 58 of file get_masks_2d_from_exemplar.hpp.

Public Member Attributes​

combined_width​

int moveit_pro::behaviors::CombinedImageResult::combined_width {}

Width of the combined image in pixels (equals target width when no exemplar).

Definition at line 63 of file get_masks_2d_from_exemplar.hpp.

exemplar​

std::optional<ExemplarInfo> moveit_pro::behaviors::CombinedImageResult::exemplar { std::nullopt }

Exemplar metadata; nullopt when no exemplar was provided.

Definition at line 68 of file get_masks_2d_from_exemplar.hpp.

image​

cv::Mat moveit_pro::behaviors::CombinedImageResult::image

Combined image as cv::Mat RGB8 (target only when no exemplar; target+exemplar when exemplar present).

Definition at line 61 of file get_masks_2d_from_exemplar.hpp.

original_target_height​

int moveit_pro::behaviors::CombinedImageResult::original_target_height {}

Definition at line 66 of file get_masks_2d_from_exemplar.hpp.

original_target_width​

int moveit_pro::behaviors::CombinedImageResult::original_target_width {}

Original target dimensions in pixels.

Definition at line 65 of file get_masks_2d_from_exemplar.hpp.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.