Function mosaic::room_frame::bfs_resolve#
Defined in File room_frame_solver.hpp
Function Documentation#
-
ResolveResult mosaic::room_frame::bfs_resolve(int cameraCount, int referenceIndex, const std::vector<Edge> &edges)#
Resolves every camera’s extrinsicRt (pose relative to referenceIndex) by BFS over the shared-shot graph described by edges.
referenceIndex always resolves to identity() (matching CalibrationData::extrinsicRt’s own documented “camera 0 always has
identity” convention). A camera with no shot-chain back to referenceIndex is reported unresolved rather than silently left with a meaningless pose.
See also
docs/math/room_calibration.rst for the full derivation.