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

Method importPairs

pose_graph/ThirdParty/DVision/BRIEF.h:132–141  ·  view source on GitHub ↗

* Sets the test pattern * @param x1 x1 coordinates of pairs * @param y1 y1 coordinates of pairs * @param x2 x2 coordinates of pairs * @param y2 y2 coordinates of pairs */

Source from the content-addressed store, hash-verified

130 * @param y2 y2 coordinates of pairs
131 */
132 inline void importPairs(const std::vector<int>& x1,
133 const std::vector<int>& y1,
134 const std::vector<int>& x2,
135 const std::vector<int>& y2) {
136 m_x1 = x1;
137 m_y1 = y1;
138 m_x2 = x2;
139 m_y2 = y2;
140 m_bit_length = x1.size();
141 }
142
143 /**
144 * Returns the Hamming distance between two descriptors

Callers 1

BriefExtractorMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected