Apply a binary mask to the frame's point cloud in-place
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.18.0.0
Syntaxpublic Frame Mask(
Mask mask
)
Public Function Mask (
mask As Mask
) As Frame
public:
Frame^ Mask(
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
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