29namespace trafficlight {
79 bool HasCamera(
const std::string& camera_name)
const;
100 return camera_names_;
104 bool BoundaryBasedProject(
106 const Eigen::Matrix4d& c2w_pose,
107 const std::vector<base::PointXYZID>& point,
112 std::vector<std::string> camera_names_;
114 std::map<std::string, base::BrownCameraDistortionModelPtr> camera_models_;
bool Project(const camera::CarPose &pose, const ProjectOption &option, base::TrafficLight *light) const
Boundary projection based on vehicle position and traffic lights.
bool Init(const MultiCamerasInitOption &options)
multicamera project initialization parameters.
bool HasCamera(const std::string &camera_name) const
Determine whether the camera exists.
int getImageWidth(const std::string &camera_name) const
Get the image width object.
MultiCamerasProjection()
Construct a new multi cameras projection object.
~MultiCamerasProjection()=default
Destroy the multi cameras projection object.
int getImageHeight(const std::string &camera_name) const
Get the image height object.
const std::vector< std::string > & getCameraNamesByDescendingFocalLen() const
Get the camera names by descending focal len object.
std::shared_ptr< BrownCameraDistortionModel > BrownCameraDistortionModelPtr
std::vector< std::string > camera_names
ProjectOption(const std::string &name)