l5kit.rasterization.sat_box_rasterizer module¶
- class l5kit.rasterization.sat_box_rasterizer.SatBoxRasterizer(render_context: l5kit.rasterization.render_context.RenderContext, filter_agents_threshold: float, history_num_frames: int, map_im: numpy.ndarray, world_to_aerial: numpy.ndarray, interpolation: int = 1, render_ego_history: bool = True)¶
Bases:
l5kit.rasterization.rasterizer.Rasterizer
Combine a Satellite and a Box Rasterizers into a single class
- num_channels() int ¶
- rasterize(history_frames: numpy.ndarray, history_agents: List[numpy.ndarray], history_tl_faces: List[numpy.ndarray], agent: Optional[numpy.ndarray] = None) numpy.ndarray ¶
- to_rgb(in_im: numpy.ndarray, **kwargs: dict) numpy.ndarray ¶