MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / HammingDis

Method HammingDis

src/dvins/pose_graph/src/keyframe.cpp:523–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521
522
523int KeyFrame::HammingDis(const BRIEF::bitset &a, const BRIEF::bitset &b)
524{
525 BRIEF::bitset xor_of_bitset = a ^ b;
526 int dis = xor_of_bitset.count();
527 return dis;
528}
529
530void KeyFrame::getVioPose(Eigen::Vector3d &_T_w_i, Eigen::Matrix3d &_R_w_i)
531{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected