44namespace scanning2d_setting {
50 static constexpr const char* name =
"Scan2DExposureMode";
52 static constexpr const char* description =
53 "Set the exposure mode for capturing the 2D image. Timed: Set a single exposure time. "
54 "Usually used in stable lighting conditions. Auto: The exposure time is automatically "
55 "adjusted. Usually used in varying lighting conditions. HDR: Set multiple exposure times "
56 "and merge the images. Usually used for objects with various colors or textures. Flash: "
57 "Use the projector for supplemental light. Usually used in dark environments.";
73 static constexpr const char* name =
"Scan2DExposureTime";
75 static constexpr const char* description =
76 "Set the exposure time for capturing the 2D image. Usually, long exposure time is used in "
77 "dark environments, and short exposure time is used in bright environments. "
78 "\"ExposureTime\" is unavailable when \"ExposureMode\" is not set to \"Timed\".";
82 static constexpr Range<float> range() {
return {0.1, 999}; }
84 static constexpr const char* unit =
"ms";
90 static constexpr const char* name =
"Scan2DSharpenFactor";
92 static constexpr const char* description =
93 "Use sharpening algorithm to get sharp edge details, it may cause image noise. The higher "
94 "the setting value, the higher the image sharpness.";
98 static constexpr double defaultValue{0.0};
100 static constexpr Range<float> range() {
return {0.0, 5.0}; }
106 static constexpr const char* name =
"Scan2DExpectedGrayValue";
108 static constexpr const char* description =
109 "This parameter affects the brightness of the 2D image. Increase the value if the 2D image "
110 "is too dark and decrease if too bright. \"ExpectedGrayValue\" is unavailable when "
111 "\"ExposureMode\" is not set to \"Auto\".";
115 static constexpr Range<int> range() {
return {0, 255}; }
121 static constexpr const char* name =
"Scan2DToneMappingEnable";
123 static constexpr const char* description =
124 "This function can make the image look more natural. If the 2D image appears very "
125 "different from the actual objects, please enable this function. \"ToneMappingEnable\" is "
126 "unavailable when \"ExposureMode\" is not set to \"HDR\".";
134 static constexpr const char* name =
"Scan2DROI";
136 static constexpr const char* description =
137 "If an auto-exposure ROI is set, the exposure time is adjusted based on the lighting, "
138 "object colors, etc., in this region. Please select the area where the target objects are "
139 "located and avoid including irrelevant objects as much as possible. \"AutoExposureROI\" "
140 "is unavailable when \"ExposureMode\" is not set to \"Auto\".";
148 static constexpr const char* name =
"Scan2DHDRExposureSequence";
150 static constexpr const char* description =
151 "Set multiple exposure times, and the captured images are merged to generate a 2D image "
152 "that retains more details in the highlights and shadows. \"HDRExposureSequence\" is "
153 "unavailable when \"ExposureMode\" is not set to \"HDR\".";
157 static constexpr Range<float> range() {
return {0.1, 999}; }
159 static constexpr int maxSize() {
return 5; }
161 static constexpr const char* unit =
"ms";
168 static constexpr const char* name =
"Scan2DPatternRoleExposureMode";
170 static constexpr const char* description =
171 "Set the exposure mode for capturing the 2D images (depth source). The images are used in "
172 "hand-eye calibration, checking intrinsic parameters and setting ROI. Timed: Set a single "
173 "fixed exposure time. Usually used in stable lighting conditions. Flash: Use the projector "
174 "for supplemental light. Usually used in dark environments.";
188 static constexpr const char* name =
"Scan2DPatternRoleExposureTime";
190 static constexpr const char* description =
191 "Set the exposure time for capturing the 2D images (depth source). Usually, long exposure "
192 "time is used in dark environments, and short exposure time is used in bright "
197 static constexpr Range<float> range() {
return {0.1, 999}; }
199 static constexpr const char* unit =
"ms";
206 static constexpr const char* name =
"Scan2DFlashAcquisitionMode";
208 static constexpr const char* description =
209 "Select the mode of acquiring the 2D image when using the projector for supplemental "
210 "light. \n\n* Fast: The 2D image is acquired as part of the 3D data, providing a faster "
211 "acquisition speed. Recommended for applications that use capture2DAnd3D() and require "
212 "short cycle time. \n* Responsive: The 2D image is acquired independently, ensuring the "
213 "correctness of the 2D image acquired by capture2D(). However, it takes longer to acquire "
214 "both 2D and 3D data. Recommended for applications that acquire the 2D and 3D data "
215 "separately.\n\nNote: \n* If the \"Fast\" mode is used with capture2D() and capture3D(), "
216 "as the acquisition of the 2D image requires all 3D data to be acquired first, capture2D() "
217 "must be called after capture3D(). If the scene changes after capture3D() is called, the "
218 "2D image acquired by capture2D() will not match the actual scene.\n* When \"Fast\" is "
219 "selected, the brightness of the 2D image is affected by the \"Scan3DExposureSequence\" "
220 "and \"ProjectorPowerLevel\" / \"LaserPowerLevel\" parameters.\n* When \"Responsive\" is "
221 "selected, the brightness of the 2D image is affected by the \"ProjectorPowerLevel\" / "
222 "\"LaserPowerLevel\" parameters. \n* For the models that do not have this parameter, their "
223 "acquisition mode in the flash exposure mode is the same as the \"Fast\" mode.";
237 static constexpr const char* name =
"Scan2DFlashExposureTime";
239 static constexpr const char* description =
240 "When \"FlashAcquisitionMode\" is set to \"Responsive\", set the exposure time for "
241 "capturing the 2D image. Usually, long exposure time is used in dark environments, and "
242 "short exposure time is used in bright environments. \n\nNote: For the DEEP and LSR "
243 "series, this parameter must be set to a multiple of 4, and the minimum value that can be "
244 "set is 8 ms. The entered value is automatically adjusted.";
248 static constexpr Range<float> range() {
return {0.1, 99}; }
250 static constexpr const char* unit =
"ms";
Represents a 2D container of data.
Type
Describes the device parameter data types.
@ _Roi
ROI type. See ROI for details.
@ _FloatArray
Vector of double types.