Get a copy of the point cloud with a binary mask applied
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.18.0.0
Syntaxpublic PointCloud Masked(
Mask mask
)
Public Function Masked (
mask As Mask
) As PointCloud
public:
PointCloud^ Masked(
Mask^ mask
)
Parameters
- mask
- Type: Zivid.NETMask
A binary mask with the same resolution as the point cloud
Return Value
Type:
PointCloud
Remarks
This method is identical to
Mask(Mask), except the masked point cloud is
returned as a new PointCloud instance. The current point cloud is not modified.
The mask indicates which points in the 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.
See Also