|
Blender V4.3
|
#include <tracks.h>
Public Member Functions | |
| Tracks () | |
| Tracks (const Tracks &other) | |
| Tracks (const vector< Marker > &markers) | |
| Construct a new tracks object using the given markers to start. | |
| void | Insert (int image, int track, double x, double y, double weight=1.0) |
| vector< Marker > | AllMarkers () const |
| Returns all the markers. | |
| vector< Marker > | MarkersForTrack (int track) const |
| Returns all the markers belonging to a track. | |
| vector< Marker > | MarkersInImage (int image) const |
| Returns all the markers visible in image. | |
| vector< Marker > | MarkersInBothImages (int image1, int image2) const |
| Returns all the markers visible in image1 and image2. | |
| vector< Marker > | MarkersForTracksInBothImages (int image1, int image2) const |
| Marker | MarkerInImageForTrack (int image, int track) const |
| Returns the marker in image belonging to track. | |
| void | RemoveMarkersForTrack (int track) |
| Removes all the markers belonging to track. | |
| void | RemoveMarker (int image, int track) |
| Removes the marker in image belonging to track. | |
| int | MaxImage () const |
| Returns the maximum image identifier used. | |
| int | MaxTrack () const |
| Returns the maximum track identifier used. | |
| int | NumMarkers () const |
| Returns the number of markers. | |
The Tracks class stores reconstruction markers .
The Tracks container is intended as the store of correspondences between images, which must get created before any 3D reconstruction can take place.
The container has several fast lookups for queries typically needed for structure from motion algorithms, such as Marker
Definition at line 65 of file libmv/simple_pipeline/tracks.h.
|
inline |
Definition at line 67 of file libmv/simple_pipeline/tracks.h.
| libmv::Tracks::Tracks | ( | const Tracks & | other | ) |
Definition at line 31 of file libmv/simple_pipeline/tracks.cc.
Construct a new tracks object using the given markers to start.
Definition at line 35 of file libmv/simple_pipeline/tracks.cc.
Returns all the markers.
Definition at line 52 of file libmv/simple_pipeline/tracks.cc.
Referenced by libmv::InternalReprojectionError(), and libmv::InvertIntrinsicsForTracks().
Inserts a marker into the set. If there is already a marker for the given image and track, the existing marker is replaced. If there is no marker for the given image and track, a new one is added.
image and track are the keys used to retrieve the markers with the other methods in this class.
weight is used by bundle adjustment and weight means how much the track affects on a final solution.
Definition at line 38 of file libmv/simple_pipeline/tracks.cc.
Returns the marker in image belonging to track.
Definition at line 122 of file libmv/simple_pipeline/tracks.cc.
Returns all the markers belonging to a track.
Definition at line 66 of file libmv/simple_pipeline/tracks.cc.
References markers.
Referenced by libmv_reprojectionErrorForTrack().
Returns the markers in image1 and image2 which have a common track.
This is not the same as the union of the markers in image1 and image2; each marker is for a track that appears in both images.
Definition at line 87 of file libmv/simple_pipeline/tracks.cc.
References markers.
Referenced by libmv_solveReconstruction(), and libmv::SelectKeyframesBasedOnGRICAndVariance().
Returns all the markers visible in image1 and image2.
Definition at line 76 of file libmv/simple_pipeline/tracks.cc.
References markers.
Referenced by libmv::SelectKeyframesBasedOnGRICAndVariance().
Returns all the markers visible in image.
Definition at line 56 of file libmv/simple_pipeline/tracks.cc.
References markers.
Referenced by libmv_reprojectionErrorForImage().
| int libmv::Tracks::MaxImage | ( | ) | const |
Returns the maximum image identifier used.
Definition at line 152 of file libmv/simple_pipeline/tracks.cc.
Referenced by libmv::SelectKeyframesBasedOnGRICAndVariance().
| int libmv::Tracks::MaxTrack | ( | ) | const |
Returns the maximum track identifier used.
Definition at line 161 of file libmv/simple_pipeline/tracks.cc.
| int libmv::Tracks::NumMarkers | ( | ) | const |
Returns the number of markers.
Definition at line 170 of file libmv/simple_pipeline/tracks.cc.
Removes the marker in image belonging to track.
Definition at line 142 of file libmv/simple_pipeline/tracks.cc.
| void libmv::Tracks::RemoveMarkersForTrack | ( | int | track | ) |
Removes all the markers belonging to track.
Definition at line 132 of file libmv/simple_pipeline/tracks.cc.