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";
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.