raillabel.format.intrinsics_radar module

class raillabel.format.intrinsics_radar.IntrinsicsRadar(resolution_px_per_m: float, width_px: int, height_px: int)

Bases: object

Intrinsic calibration for a radar sensor.

classmethod from_json(json: JSONIntrinsicsRadar) IntrinsicsRadar

Construct an instant of this class from RailLabel JSON data.

height_px: int

Height of the cartesian image frame in pixel.

resolution_px_per_m: float

Factor for calculating the 3D coordinates of a pixel in the cartesian radar images. Number of pixels in the images per meter from the sensor.

to_json() JSONIntrinsicsRadar

Export this object into the RailLabel JSON format.

width_px: int

Width of the cartesian image frame in pixel.