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 or InstanceSegmentation3D. 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).

class Points3D(points)

Collection of 3D Points

Parameters:

points (List[Point3D]) – Points3D.points

points

Unordered list of Point3D instances