Go to the documentation of this file.
27 std::cout <<
" measurements of point " <<
p << std::endl;
32 if (!
p.isApprox(sfmTrack.
p)) {
37 if (
r != sfmTrack.
r ||
g != sfmTrack.
g ||
b != sfmTrack.
b) {
53 !
measurement.second.isApprox(otherMeasurement.second)) {
59 for (
size_t idx = 0; idx <
siftIndices.size(); ++idx) {
63 if (index.first != otherIndex.first || index.second != otherIndex.second) {
const SfmMeasurement & measurement(size_t idx) const
Get the measurement (camera index, Point2) at pose index idx
void print(const std::string &s="") const
print
std::vector< SfmMeasurement > measurements
The 2D image projections (id,(u,v))
float b
RGB color of the 3D point.
bool equals(const SfmTrack &sfmTrack, double tol=1e-9) const
assert equality up to a tolerance
std::pair< size_t, size_t > SiftIndex
Sift index for SfmTrack.
std::vector< SiftIndex > siftIndices
The feature descriptors (optional)
Point3 p
3D position of the point
size_t numberMeasurements() const
Total number of measurements in this track.
A simple data structure for a track in Structure from Motion.
std::pair< size_t, Point2 > SfmMeasurement
A measurement with its camera index.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:04:11