16 inline HandleGuard<Foundation::Metric::RangeMapSegmentor>::HandleGuard(
void *handle) noexcept
17 : HandleGuard<Foundation::Metric::RangeMapSegmentor>(handle,
34 class RangeMapSegmentor
41 explicit RangeMapSegmentor(HandleGuard<RangeMapSegmentor> &&guard) noexcept
47 using GuardType = HandleGuard<RangeMapSegmentor>;
49 RangeMapSegmentor(
const RangeMapSegmentor &other) =
delete;
50 RangeMapSegmentor &operator=(
const RangeMapSegmentor &other) =
delete;
51 RangeMapSegmentor(RangeMapSegmentor &&other) =
delete;
52 RangeMapSegmentor &operator=(RangeMapSegmentor &&other) =
delete;
53 virtual ~RangeMapSegmentor() =
default;
61 return Internal::DoResCallValueOut<double>([&](
double &rangeMapIgnoreValue) {
62 return CVB_CALL_CAPI(CVMAQS12SegmentorRangeMapGetIgnoreValue(
Handle(), rangeMapIgnoreValue));
72 CVB_CALL_CAPI(CVMAQS12SegmentorRangeMapSetIgnoreValue(
Handle(), rangeMapIgnoreValue));
85 return static_cast<int>(Internal::DoResCallValueOut<CExports::cvbdim_t>([&](CExports::cvbdim_t &value) {
86 return CVB_CALL_CAPI(CVMAQS12SegmentorRangeMapGetWindowSize(
Handle(), value));
102 CVB_CALL_CAPI_CHECKED(
103 CVMAQS12SegmentorRangeMapSetWindowSize(
Handle(),
static_cast<CExports::cvbdim_t
>(windowSize)));
135 return handle_.Handle();
139 HandleGuard<RangeMapSegmentor> handle_;
34 class RangeMapSegmentor {
…};
Base class for segmentor object to configure and compute segmentation on range maps.
Definition decl_metric_segmentor_range_map.hpp:35
void SetRangeMapIgnoreValue(double rangeMapIgnoreValue) const noexcept
Sets the range map ignore value of the segmentor.
Definition decl_metric_segmentor_range_map.hpp:70
static std::shared_ptr< RangeMapSegmentor > FromHandle(HandleGuard< RangeMapSegmentor > &&guard)
Creates a segmentor from a classic API handle.
Definition detail_metric_segmentor.hpp:14
double RangeMapIgnoreValue() const noexcept
Returns the range map ignore value of the segmentor.
Definition decl_metric_segmentor_range_map.hpp:59
int WindowSize() const noexcept
Gets window size for calculation of normals (used for the classification of the AQS12 faces).
Definition decl_metric_segmentor_range_map.hpp:83
void * Handle() const noexcept
Returns C-API style handle to Node Object.
Definition decl_metric_segmentor_range_map.hpp:133
void SetWindowSize(int windowSize) const
Sets window size for the calculation of normals (used for the classification of the AQS12 faces).
Definition decl_metric_segmentor_range_map.hpp:100
Image plane information container.
Definition decl_image_plane.hpp:29
Rectangle object.
Definition rect.hpp:24
cvbbool_t ReleaseObject(OBJ &Object)
Namespace for metric calibration.
Definition decl_metric_aqs12_calibration_piece.hpp:13
CalibrationPiece
Defines the calibration piece to use for face segmentation.
Definition metric.hpp:24
SegmentationMethod
Defines the segmentation method for labeling the faces of the calibration piece.
Definition metric.hpp:31
Namespace for the Foundation package.
Definition decl_metric_aqs12_calibration_piece.hpp:11
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17