Color(颜色)

用于 2D + 3D 捕获的 2D 彩色图像设置。Settings/Color 保存一个完整的 Settings2D 对象,因此其完整参考内容见 Settings2D 页面。这是自 SDK 2.14 起推荐的配置 2D + 3D 捕获中 2D 彩色图像的方式;旧版的 Settings/Sampling/Color 和 Settings/Processing/Color 设置已被弃用。

class Color

Specify the settings used for the 2D color image when doing a 2D+3D capture.

The value type of this node is a Zivid::Settings2D object.

This setting was introduced in SDK 2.14, as the recommended way to define the acquisition and processing settings for the 2D color image when doing 2D+3D captures.

When this setting is set, it controls how the 2D color image of the 2D+3D capture is acquired and processed. This setting can be used to specify custom acquisition and processing settings that apply only to the 2D color image. These provided settings does not affect the 3D acquisition or processing.

When this setting is not set, then the 2D color image is acquired based on Settings/Acquisitions and Settings/Sampling/Color, and processed based on Settings/Processing/Color. If Settings/Sampling/Color is set to disabled, then no 2D color image is acquired. This behavior is to be consistent with SDK 2.13 and earlier.

In the next SDK major version, SDK 3.0, only this Color setting will control the 2D color image settings. The Settings/Sampling/Color and Settings/Processing/Color settings are deprecated as of 2.14, and will be removed from the API in SDK 3.0. Zivid recommends all users to use Settings/Color to define the 2D color image settings. Tip: If you want to convert an existing settings.yml file to use Settings/Color, you can import the .yml file into Zivid Studio and then re-export it to .yml.

Zivid::NET::Settings::Color 保存一个完整的 Zivid::NET::Settings2D。请参阅 Settings2D 参考文档。

zivid.Settings.color 保存一个完整的 Settings2D (zivid.Settings2D)。请参阅 Settings2D 参考文档。