SettingsInfoResolution2D Method (CameraInfo, Settings) |
Returns the resolution of a 2D frame according to the provided camera information and settings.
Namespace:
Zivid.NET.Experimental
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.15.0.0
Syntaxpublic static Resolution Resolution2D(
CameraInfo cameraInfo,
Settings settings
)
Public Shared Function Resolution2D (
cameraInfo As CameraInfo,
settings As Settings
) As Resolution
public:
static Resolution^ Resolution2D(
CameraInfo^ cameraInfo,
Settings^ settings
)
Parameters
- cameraInfo
- Type: Zivid.NETCameraInfo
- settings
- Type: Zivid.NETSettings
Return Value
Type:
Resolution
Remarks
Note that for a 2D+3D capture, the 2D color image and 3D point cloud may have different resolutions,
depending on the pixel sampling and resampling settings used in the
Settings and in the
Color. This function returns the resolution of the 2D Color Image for the 2D
frame, in other words, it returns the resolution of the
ImageRGBA returned from
ImageRGBA. See also
Frame2D.
If no color settings have been specified in the provided settings this function will throw an exception.
If no 2D acquisitions have been specified in the provided settings this function will throw an
exception.
See Also