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.";
 
   81    static constexpr Range<float> range() { 
return {0.1, 999}; }
 
   83    static constexpr const char* unit = 
"ms";
 
   89    static constexpr const char* name = 
"Scan2DSharpenFactor";
 
   91    static constexpr const char* description =
 
   92        "Use sharpening algorithm to get sharp edge details, it may cause image noise. The higher " 
   93        "the setting value, the higher the image sharpness.";
 
   97    static constexpr double defaultValue{0.0};
 
   99    static constexpr Range<float> range() { 
return {0.0, 5.0}; }
 
  105    static constexpr const char* name = 
"Scan2DExpectedGrayValue";
 
  107    static constexpr const char* description =
 
  108        "This parameter affects the brightness of the 2D image. Increase the value if the 2D image " 
  109        "is too dark and decrease if too bright.";
 
  113    static constexpr Range<int> range() { 
return {0, 255}; }
 
  119    static constexpr const char* name = 
"Scan2DToneMappingEnable";
 
  121    static constexpr const char* description =
 
  122        "This function can make the image look more natural. If the 2D image appears very " 
  123        "different from the actual objects, please enable this function.";
 
  131    static constexpr const char* name = 
"Scan2DROI";
 
  133    static constexpr const char* description =
 
  134        "If an auto-exposure ROI is set, the exposure time is adjusted based on the lighting, " 
  135        "object colors, etc., in this region. Please select the area where the target objects are " 
  136        "located and avoid including irrelevant objects as much as possible.";
 
  144    static constexpr const char* name = 
"Scan2DHDRExposureSequence";
 
  146    static constexpr const char* description =
 
  147        "Set multiple exposure times, and the captured images are merged to generate a 2D image " 
  148        "that retains more details in the highlights and shadows.";
 
  152    static constexpr Range<float> range() { 
return {0.1, 999}; }
 
  154    static constexpr int maxSize() { 
return 5; }
 
  156    static constexpr const char* unit = 
"ms";
 
  163    static constexpr const char* name = 
"Scan2DPatternRoleExposureMode";
 
  165    static constexpr const char* description =
 
  166        "Set the exposure mode for capturing the 2D images (depth source). The images are used in " 
  167        "hand-eye calibration, checking intrinsic parameters and setting ROI. Timed: Set a single " 
  168        "fixed exposure time. Usually used in stable lighting conditions. Flash: Use the projector " 
  169        "for supplemental light. Usually used in dark environments.";
 
  183    static constexpr const char* name = 
"Scan2DPatternRoleExposureTime";
 
  185    static constexpr const char* description =
 
  186        "Set the exposure time for capturing the 2D images (depth source). Usually, long exposure " 
  187        "time is used in dark environments, and short exposure time is used in bright " 
  192    static constexpr Range<float> range() { 
return {0.1, 999}; }
 
  194    static constexpr const char* unit = 
"ms";
 
Type
Describes the device parameter data types.
@ _Roi
ROI type. See ROI for details.
@ _FloatArray
Vector of double types.