Get 2D frame from 2D+3D frame.
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.14.0.0
Syntax public Frame2D Frame2D { get; }
Public ReadOnly Property Frame2D As Frame2D
Get
public:
property Frame2D^ Frame2D {
Frame2D^ get ();
}
Property Value
Type:
Frame2DRemarks
If the frame is the result of a 2D+3D capture, this method returns the 2D frame contained in the 2D+3D
frame. In the case of a 3D-only capture, this method returns null.
If the frame was captured by an SDK version prior to 2.14.0, then this method will return null.
If the 2D frame is not yet available because the capture is still in-progress, then this method will block
until acquisition of the entire 2D+3D capture is done. If you need to access the 2D frame before the 3D
acquisition has finished, then it is required to do separate 2D and 3D captures.
In a 2D+3D capture, the 2D color image and 3D point cloud may have different resolutions depending on the
pixel sampling settings used. The 2D pixel sampling setting determines the resolution of the 2D color image
whereas the 3D pixel sampling setting and the resampling setting determines the resolution of the 3D point
cloud. The 2D color image returned in this 2D frame will always have the same resolution as the 2D color
image that was captured. On the other hand, the point cloud colors will be sampled from the 2D color image
to match the resolution of the 3D point cloud. The point cloud colors will always have a 1:1 correspondence
with the 3D point cloud resolution. See
PointCloud for more information.
See Also