paralleldomain.model.annotation.point_3d¶
- class Point3D(x, y, z, class_id, instance_id=-1, attributes=<factory>)¶
Represents a 3D Point.
- Parameters:
- x¶
coordinate along x-axis in image pixels
- y¶
coordinate along y-axis in image pixels
- class_id¶
Class ID of the point. Can be used to lookup more details in
ClassMap
.
- instance_id¶
Instance ID of annotated object. Can be used to cross-reference with other instance annotation types, e.g.,
InstanceSegmentation3D
orInstanceSegmentation3D
. If unknown defaults to -1.
- attributes¶
Dictionary of arbitrary object attributes.
- to_numpy()¶
Returns the coordinates as a numpy array with shape (1 x 3).