Spaces:
Running
Running
File size: 705 Bytes
63f3cf2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# -*- coding: UTF-8 -*-
'''=================================================
@Project -> File pram -> point3d
@IDE PyCharm
@Author fx221@cam.ac.uk
@Date 04/03/2024 10:13
=================================================='''
import numpy as np
class Point3D:
def __init__(self, id: int, xyz: np.ndarray, error: float, refframe_id: int, seg_id: int = None,
descriptor: np.ndarray = None, rgb: np.ndarray = None, frame_ids: np.ndarray = None):
self.id = id
self.xyz = xyz
self.rgb = rgb
self.error = error
self.seg_id = seg_id
self.refframe_id = refframe_id
self.frame_ids = frame_ids
self.descriptor = descriptor
|