MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / HammingDis

Method HammingDis

pose_graph/src/pose_graph/Keyframe.cpp:548–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548int Keyframe::HammingDis(const DVision::BRIEF256::bitset& a, const DVision::BRIEF256::bitset& b) {
549 DVision::BRIEF256::bitset xor_of_bitset = a ^ b;
550 int dis = xor_of_bitset.count();
551 return dis;
552}
553
554void Keyframe::getSVInPose(Eigen::Vector3d& _T_w_i, Eigen::Matrix3d& _R_w_i) {
555 _T_w_i = svin_T_w_i;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected