SamplingGroup Properties |
The SettingsSamplingGroup type exposes the following members.
| Name | Description | |
|---|---|---|
| Color | Choose how to sample colors for the point cloud.
- `rgb` option gives an image with full colors.
- `grayscale` option gives a grayscale (r=g=b) image, which
can be acquired faster than full colors.
- `rgbStrongAmbientLight` option gives an image with full colors and reduced
color noise. This option should be chosen only for applications which
suffer from high color noise and with high amounts of ambient light in the
scene.
- `rgbAmbientSuppression` option gives an image with full colors while
suppressing the ambient light. The Zivid 2+R and Zivid 3 cameras suppress ambient
light by default, and therefore do not need the additional option
`rgbAmbientSuppression`.
The `grayscale`, `rgbStrongAmbientLight` and `rgbAmbientSuppression` options are not available on all camera models.
This setting is deprecated as of SDK 2.14. This setting will be removed in the next SDK major
version (SDK 3.0). The recommended way to do a 2D+3D capture is to set a `Settings2D` object
in the `Settings/Color` field. Tip: If you want to convert an existing settings.yml file to
the recommended API, you can import the .yml file into Zivid Studio and then re-export it to
.yml.
| |
| Pixel | For Zivid 2 and Zivid 2+, this setting controls whether to read out the full image sensor and
use white projector light or to subsample pixels for specific color channels with
corresponding projector light. Picking a specific color channel can help reduce noise
and effects of ambient light - projecting blue light is recommended.
For Zivid 2+R and Zivid 3, the user does not have to set the projection color and should only
consider whether to scale the resolution `by2x2` or `by4x4`. Both of these modes
will boost the signal strength by about 4x compared to `all`, so the user should
consider a corresponding reduction in exposure time.
Sampling at a decreased resolution decreases capture time, as less data will be captured and processed.
|