Click or drag to resize

FrameMasked Method

Get a copy of the frame with a binary mask applied to its point cloud

Namespace:  Zivid.NET
Assembly:  ZividCoreNET (in ZividCoreNET.dll) Version: 2.18.0.0
Syntax
public Frame Masked(
	Mask mask
)

Parameters

mask
Type: Zivid.NETMask
A binary mask with the same resolution as the frame's point cloud

Return Value

Type: Frame
Remarks
This method is identical to Mask(Mask), except the masked frame is returned as a new Frame instance. The current frame is not modified. The mask indicates which points in the frame's point cloud should be considered invalid (NaN). The mask must have the same height and width as the point cloud. A value of True/non-zero in the mask indicates that the corresponding point in the point cloud should be set to invalid (NaN). A value of False/zero indicates that the corresponding point should be kept unchanged. If the capture is still in-progress, then this method will block until the capture completes.
See Also