6namespace profile_extraction {
11 static constexpr const char* name =
"MinGrayscaleValue";
13 static constexpr const char* description =
14 "Set the minimum grayscale value of the valid pixels in the raw image. Pixels with "
15 "grayscale values smaller than this value will not participate in profile "
16 "extraction.\n\nNote: \n* The minimum value of \"Min Grayscale Value\" is affected by "
17 "\"Digital Gain\". \n* \"Min Grayscale Value\" affects the minimum value of \"Min Spot "
18 "Intensity\" and \"Max Spot Intensity\".";
26 static constexpr const char* name =
"MinSpotIntensity";
28 static constexpr const char* description =
29 "Set the minimum intensity for the spots. Spots with intensity values smaller than this "
30 "value will be excluded. The intensity of a spot is the average grayscale value of all the "
31 "valid pixels in the pixel column of the laser line.\nThe spots of laser lines produced by "
32 "stray light or interreflection usually have low intensities. Setting an appropriate "
33 "minimum intensity can remove these spots.\n\nNote: The minimum value of \"Min Spot "
34 "Intensity\" is affected by \"Min Grayscale Value\".";
42 static constexpr const char* name =
"MaxSpotIntensity";
44 static constexpr const char* description =
45 "Set the maximum intensity for the spots. Spots with intensity values greater than this "
46 "value will be excluded. The intensity of a spot is the average grayscale value of all the "
47 "valid pixels in the pixel column of the laser line.\nSetting an appropriate maximum "
48 "intensity can remove abnormally bright spots produced by specular reflection.\n\nNote: "
49 "The minimum value of \"Max Spot Intensity\" is affected by \"Min Grayscale Value\".";
57 static constexpr const char* name =
"MinLaserLineWidth";
59 static constexpr const char* description =
60 "Set the minimum width for the laser lines. If the width of a pixel column in a laser line "
61 "is smaller than this value, the spot of this pixel column in this laser line is "
62 "excluded.\nLaser line width is a property of each pixel column in a laser line. It is "
63 "equal to the number of valid pixels in such a pixel column.\nSetting appropriate minimum "
64 "and maximum widths can exclude the laser lines produced by stray light or "
65 "interreflection, which are usually too wide or too narrow.";
73 static constexpr const char* name =
"MaxLaserLineWidth";
75 static constexpr const char* description =
76 "Set the maximum width for the laser lines. If the width of a pixel column in a laser line "
77 "is greater than this value, the spot of this pixel column in this laser line is "
78 "excluded.\nLaser line width is a property of each pixel column in a laser line. It is "
79 "equal to the number of valid pixels in such a pixel column.\nSetting appropriate minimum "
80 "and maximum widths can exclude the laser lines produced by stray light or "
81 "interreflection, which are usually too wide or too narrow.";
89 static constexpr const char* name =
"SpotSelection";
91 static constexpr const char* description =
92 "If a pixel column contains multiple spots, the final spot is selected according to the "
93 "value of this parameter.\nStrongest: selects the spot with the highest "
94 "intensity as the final spot.\nNearest: selects the spot with the smallest Z value as the "
95 "final spot.\nFarthest: selects the spot with the greatest Z value as the final spot.\n"
96 "Invalid: regards the pixel column as invalid and discards the spots. The profile "
97 "therefore has a gap. Usually used for complex situations where selection is difficult to "
Type
Describes the device parameter data types.