Basic Image AlgorithmS Library
2.8.0
|
High level tracking class. More...
#include <Matcher2D/Tracker.hh>
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
void | DumpResults (std::ostream &os=std::cout) |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
void | ReplaceLastImages (PyramidImageInterface< CalculationType > *pim, PyramidImageInterface< CalculationType > *gradx, PyramidImageInterface< CalculationType > *grady) |
This function allows the replacement of the last images. More... | |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
int | WriteTrackFile (std::deque< std::vector< HomgPoint2D > > &p, std::deque< std::vector< int > > &results, const std::string &name) |
write a track file in Birchfeld-style. More... | |
Initialization functions | |
Tracker (int tracker_type=TT_Simple) | |
Default constructor without param object. More... | |
virtual | ~Tracker () |
void | ClearPoints () |
Clears the internal data structures, i.e. More... | |
void | Reset () |
Calls ClearPoints and sets pointer to last image and gradients to zero. More... | |
Point manipulation functions | |
int | FillUpPoints (const std::vector< HomgPoint2D > &points, const std::vector< float > &qual) |
Replaces points to which no correspondence could be established in the internal data structures. More... | |
int | ReplacePoints (const std::vector< HomgPoint2D > &points, const std::vector< float > &qual) |
Place every point from points which is not at infinity, in the internal data structure Points_. More... | |
int | ReplaceAllPoints (const std::vector< HomgPoint2D > &points, const std::vector< float > &qual) |
Place every point from points even those at infinity, in the internal data structure Points_. More... | |
Tracking and image preparation functions | |
These functions need to be called for every new image. | |
int | PreparePyramide (const Image< StorageType > &im, PyramidImageInterface< CalculationType > &pim, PyramidImageInterface< CalculationType > &gx, PyramidImageInterface< CalculationType > &gy, FilterNTo2N< CalculationType, CalculationType > &grad, FilterNToN< StorageType, CalculationType > &lowpass) |
Prepares the pyramid images: Filters im to pim[0], downsamples pim[0] and calculates the gradients gx and gy of pim in every pyramid level. More... | |
int | PreparePyramide (const Image< StorageType > &im, PyramidImageInterface< CalculationType > &pim, PyramidImageInterface< CalculationType > &gx, PyramidImageInterface< CalculationType > &gy) |
Prepare pyramid using default gradient and lowpass filter. More... | |
int | PreparePyramide (const Image< StorageType > &im, PyramidImageInterface< CalculationType > &pim) |
Prepares the pyramid images. More... | |
virtual int | Track (PyramidImageInterface< CalculationType > &pim, PyramidImageInterface< CalculationType > &gradx, PyramidImageInterface< CalculationType > &grady) |
Tracks all points from the internal data structure Points_. More... | |
virtual int | Track (PyramidImageInterface< CalculationType > &pim, PyramidImageInterface< CalculationType > &gradx, PyramidImageInterface< CalculationType > &grady, const std::vector< HomgPoint2D > &prediction, const std::vector< Matrix2x2< KLT_TYPE > > &affineprediction=std::vector< Matrix2x2< KLT_TYPE > >()) |
tracks all points in Points_ using prediction as previous knowledge More... | |
virtual int | Track (PyramidImageInterface< CalculationType > &pim) |
Tracks all points from the internal data structure Points_. More... | |
virtual int | Track (PyramidImageInterface< CalculationType > &pim, const std::vector< HomgPoint2D > &prediction, const std::vector< Matrix2x2< KLT_TYPE > > &affineprediction=std::vector< Matrix2x2< KLT_TYPE > >()) |
tracks all points in Points_ using prediction as previous knowledge More... | |
Result access functions | |
Functions for accessing results like point position, number of iterations, ... | |
void | GetPoints (std::vector< HomgPoint2D > &p) const |
returns the point positions in the actual image points at infinity (w=0.0) are returned, if tracking failed More... | |
void | GetNumIter (std::vector< int > &numiter) const |
returns the number of iterations used in the biggest pyramid level More... | |
void | GetError (std::vector< double > &error) const |
returns the displacement in the last iteration on the biggest pyramid level. More... | |
void | GetResiduiMAD (std::vector< double > &residui) const |
returns the mean grey level difference in the tracking window on the biggest pyramid level. More... | |
void | GetResiduiMSD (std::vector< double > &residui) const |
returns the squared mean grey level difference in the tracking window on the biggest pyramid level. More... | |
void | GetResults (std::vector< int > &results) const |
returns the results from the base tracker class on the biggest pyramid level. More... | |
void | GetAffineEstimates (std::vector< Matrix2x2< double > > &results) |
returns estimated affine matrices More... | |
void | GetCovariances (std::vector< Matrix< double > > &cov) const |
returns covariance matrices for biggest pyramid level. More... | |
Parameter access | |
Functions for accessing the parameter | |
int | GetTrackerType () |
return trackerbase type currently active More... | |
void | SetTrackerType (int tracker_type) |
enum ERejectionType | GetRejectionType () |
void | SetRejectionType (int rejection_type) |
void | SetAffineBrightnessInvariance (bool bi) |
const Vector< int > & | GetHalfWinSize () |
void | SetHalfWinSize (const Vector< int > &hws) |
void | SetWeightMatrix (const std::vector< Matrix< KLT_TYPE > > &matrices) |
void | SetMaxError (const Vector< double > &max_error) |
void | SetMaxResiduumMAD (const Vector< KLT_TYPE > &maxres) |
!!! Also used for X84M as maximal residuum. More... | |
void | SetMaxIterations (const Vector< int > &max_iter) |
void | SetCoarsePointUsage (const bool &UseCoarse) |
void | SetLowpassMask (const FilterMask &mask) |
void | SetGradXMask (const FilterMask &mask) |
void | SetGradYMask (const FilterMask &mask) |
void | SetLowpassMask (Vector< double > &vec, bool separable) |
void | SetGradXMask (Vector< double > &vec, bool separable) |
void | SetGradYMask (Vector< double > &vec, bool separable) |
Static Public Member Functions | |
static long int | GetGlobalDebugLevel () |
static void | SetGlobalDebugLevel (long int lev) |
Protected Member Functions | |
long | ConsumeNextFreeDebuglevel_ () |
returns the next available debuglevel More... | |
void | DetermineROI_ (int &tlx, int &tly, int &brx, int &bry) const |
void | PadPoints_ (const int start) |
sets all points with index>=start in the internal data structures to infinity More... | |
void | ReserveInternals_ (const int pysize, const int pointsize) |
void | ResizeInternals_ (const int pysize) |
void | ResizeInternals_ (const int pysize, const int num_points) |
adapts the internal memory to new pyramid size and new point count if necessary. More... | |
void | Vector2FilterMask_ (Vector< double > &input, FilterMask &mask, bool separable) |
void | WriteTrackLog_ (int num) |
logs reasons for lost tracks into tracker.log More... | |
Protected Attributes | |
long int | _liDebugLevel |
long int | _liNextDebugLevel |
new concept, debuglevel are managed here in the debug class More... | |
std::map< std::string, long int > | _String2Debuglevel |
std::vector< Matrix2x2< double > > | AffinePrediction_ |
prediction for affine warping, same for all pyramid levels More... | |
std::vector< std::vector < Matrix2x2< double > > > | AffineResults_ |
results of affine tracking More... | |
std::vector< std::vector < Matrix< double > > > | Cov_ |
covariance matrices More... | |
std::vector< std::vector < double > > | DisplInLastIter_ |
displacement inlast iteration More... | |
FilterNTo2N< CalculationType, CalculationType > * | grad_ |
the gradient filter More... | |
FilterMask | GradXFM_ |
FilterMask | GradYFM_ |
Vector< int > | HalfWinSize_ |
PyramidImageInterface < CalculationType > * | LastGradX_ |
PyramidImageInterface < CalculationType > * | LastGradY_ |
PyramidImageInterface < CalculationType > * | LastImage_ |
FilterNToN< StorageType, CalculationType > * | lowpass_ |
the lowpass filter More... | |
FilterMask | LowpassFM_ |
Vector< KLT_TYPE > | MaxError_ |
Vector< int > | MaxIter_ |
the parameter More... | |
Vector< KLT_TYPE > | MaxResiduumMAD_ |
std::vector< std::vector< int > > | NumIter_ |
number of iterations used More... | |
std::vector< HomgPoint2D > | p2tracked_ |
temporary data More... | |
std::vector< std::vector < HomgPoint2D > > | Points_ |
the point position in the actual image More... | |
std::vector< std::vector < HomgPoint2D > > | PredictedPoints_ |
the prediction for every pyramid image More... | |
int | PyIndex_ |
std::vector< std::vector< int > > | res_ |
result code for every point More... | |
std::vector< std::vector < double > > | ResiduiMAD_ |
mean absolute grey level difference (MAD) in tracking window More... | |
std::vector< std::vector < double > > | ResiduiMSD_ |
mean squared grey level difference (MSD) in tracking window More... | |
TrackerBaseInterface < CalculationType > * | tb_ |
the base tracker More... | |
bool | UseCoarserPointIfLost_ |
set if you want to keep track of points regardless of trackability in highest resolution More... | |
std::vector< BIAS::Matrix < KLT_TYPE > > | WeightMatrices_ |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
High level tracking class.
Provides a convenient interface for tracking tasks using pyramid images.
See ExampleTracker3 for brief exemplary usage.
Definition at line 72 of file Tracker.hh.
Tracker::Tracker | ( | int | tracker_type = TT_Simple | ) |
Default constructor without param object.
Definition at line 60 of file Tracker.cpp.
|
virtual |
Definition at line 96 of file Tracker.cpp.
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
void Tracker::ClearPoints | ( | ) |
Clears the internal data structures, i.e.
POints_, POints2_, NumIter_, DisplInLastIter_, ResiduiMAD_, ResiduiMSD_, res_ and Cov_.
Definition at line 127 of file Tracker.cpp.
|
inlineprotectedinherited |
|
inlineinherited |
Definition at line 341 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::MonteCarloTransform::GetSamples_(), and BIAS::MonteCarloTransform::Transform().
|
inlineinherited |
|
protected |
Definition at line 210 of file Tracker.cpp.
|
inline |
Definition at line 355 of file Tracker.hh.
int Tracker::FillUpPoints | ( | const std::vector< HomgPoint2D > & | points, |
const std::vector< float > & | qual | ||
) |
Replaces points to which no correspondence could be established in the internal data structures.
These "lost" points are marked in the internal data structure by setting the last component (w) to zero (0.0). Traverses the argument list subsequently and makes use of as many points as necessary. Only points further away than *MinBorderDist_ from roi border are added to internal data structures.
If "ghost tracks" appear, try to make the corner detector aware of points which are already tracked :
See also documentation of CornerDetectorGradient::Detect().
The argument "qual" refers to the quality from the corner detector.
Definition at line 233 of file Tracker.cpp.
References BIAS::HomgPoint2D::Homogenize(), and BIAS::Matrix2x2< T >::SetZero().
|
inline |
returns estimated affine matrices
Definition at line 256 of file Tracker.hh.
|
inline |
returns covariance matrices for biggest pyramid level.
Definition at line 262 of file Tracker.hh.
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and BIAS::ImageBase::operator=().
|
inlineinherited |
|
inlineinherited |
|
inline |
returns the displacement in the last iteration on the biggest pyramid level.
Definition at line 226 of file Tracker.hh.
|
inlinestaticinherited |
|
inline |
Definition at line 299 of file Tracker.hh.
|
inline |
returns the number of iterations used in the biggest pyramid level
Definition at line 220 of file Tracker.hh.
|
inline |
returns the point positions in the actual image points at infinity (w=0.0) are returned, if tracking failed
Definition at line 214 of file Tracker.hh.
|
inline |
Definition at line 289 of file Tracker.hh.
|
inline |
returns the mean grey level difference in the tracking window on the biggest pyramid level.
Definition at line 232 of file Tracker.hh.
|
inline |
returns the squared mean grey level difference in the tracking window on the biggest pyramid level.
Definition at line 238 of file Tracker.hh.
|
inline |
returns the results from the base tracker class on the biggest pyramid level.
0 on success (error< maxerror) - the point was tracked -1 when no spatial structure is present -2 when point slid out of image -3 when maxiter is reached an error is above maxerror -4 when a point lies outside of valid region in images -5 when the mean absolute difference between the two poinst -6 when input point is at infinity 1 when error increased from last iteration
Definition at line 252 of file Tracker.hh.
int Tracker::GetTrackerType | ( | ) |
return trackerbase type currently active
Definition at line 1277 of file Tracker.cpp.
References BIAS::TT_Affine, BIAS::TT_Affine2, BIAS::TT_Homography, BIAS::TT_Invalid, BIAS::TT_Similar, BIAS::TT_Simple, BIAS::TT_SimpleWeighted, and BIAS::TT_Weighted1D.
|
inlineinherited |
|
inlineinherited |
creates a new debuglevel
Definition at line 474 of file Debug.hh.
Referenced by BIAS::COSAC< SolutionType >::COSAC(), BIAS::ProjectionParametersPerspectiveDepth::Init(), BIAS::MonteCarloTransform::MonteCarloTransform(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::RotationAveraging::RotationAveraging(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
|
protected |
sets all points with index>=start in the internal data structures to infinity
Definition at line 1263 of file Tracker.cpp.
int Tracker::PreparePyramide | ( | const Image< StorageType > & | im, |
PyramidImageInterface< CalculationType > & | pim, | ||
PyramidImageInterface< CalculationType > & | gx, | ||
PyramidImageInterface< CalculationType > & | gy, | ||
FilterNTo2N< CalculationType, CalculationType > & | grad, | ||
FilterNToN< StorageType, CalculationType > & | lowpass | ||
) |
Prepares the pyramid images: Filters im to pim[0], downsamples pim[0] and calculates the gradients gx and gy of pim in every pyramid level.
Definition at line 441 of file Tracker.cpp.
References BIAS::PyramidImageInterface< StorageType >::Clear(), BIAS::ImageBase::CM_Grey, BIAS::ImageConvert::ConvertST(), BIAS::PyramidImageInterface< StorageType >::Downsample(), BIAS::FilterNToN< InputStorageType, OutputStorageType >::Filter(), BIAS::FilterNTo2N< InputStorageType, OutputStorageType >::Filter(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::TimeMeasure::GetRealTime(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::PyramidImageInterface< StorageType >::Init(), BIAS::PyramidImageInterface< StorageType >::IsEmpty(), BIAS::TimeMeasure::Reset(), BIAS::ImageBase::SamePixelAndChannelCount(), BIAS::ImageIO::Save(), BIAS::PyramidImageInterface< StorageType >::SetZero(), BIAS::PyramidImageInterface< StorageType >::size(), BIAS::TimeMeasure::Start(), and BIAS::TimeMeasure::Stop().
int Tracker::PreparePyramide | ( | const Image< StorageType > & | im, |
PyramidImageInterface< CalculationType > & | pim, | ||
PyramidImageInterface< CalculationType > & | gx, | ||
PyramidImageInterface< CalculationType > & | gy | ||
) |
Prepare pyramid using default gradient and lowpass filter.
Definition at line 620 of file Tracker.cpp.
int Tracker::PreparePyramide | ( | const Image< StorageType > & | im, |
PyramidImageInterface< CalculationType > & | pim | ||
) |
Prepares the pyramid images.
Does neither lowpass filtering, nor gradient computation.
Definition at line 591 of file Tracker.cpp.
References BIAS::PyramidImageInterface< StorageType >::Clear(), BIAS::ImageBase::CM_Grey, BIAS::ImageConvert::ConvertST(), BIAS::PyramidImageInterface< StorageType >::Downsample(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetColorModel(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::PyramidImageInterface< StorageType >::Init(), BIAS::PyramidImageInterface< StorageType >::IsEmpty(), BIAS::ImageBase::SamePixelAndChannelCount(), BIAS::PyramidImageInterface< StorageType >::SetZero(), and BIAS::PyramidImageInterface< StorageType >::size().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
int Tracker::ReplaceAllPoints | ( | const std::vector< HomgPoint2D > & | points, |
const std::vector< float > & | qual | ||
) |
Place every point from points even those at infinity, in the internal data structure Points_.
Definition at line 383 of file Tracker.cpp.
References BIAS::HomgPoint2D::Homogenize(), BIAS::HomgPoint2D::IsAtInfinity(), and BIAS::Matrix2x2< T >::SetZero().
void Tracker::ReplaceLastImages | ( | PyramidImageInterface< CalculationType > * | pim, |
PyramidImageInterface< CalculationType > * | gradx, | ||
PyramidImageInterface< CalculationType > * | grady | ||
) |
This function allows the replacement of the last images.
It is intended to be used when all points in the current image should be mapped against different reference image for every point. A set of "last images" is constructed from patches
Definition at line 104 of file Tracker.cpp.
References BIAS::PyramidImageInterface< StorageType >::ShallowClone().
int Tracker::ReplacePoints | ( | const std::vector< HomgPoint2D > & | points, |
const std::vector< float > & | qual | ||
) |
Place every point from points which is not at infinity, in the internal data structure Points_.
Definition at line 330 of file Tracker.cpp.
References BIAS::HomgPoint2D::Homogenize(), and BIAS::Matrix2x2< T >::SetZero().
|
protected |
Definition at line 183 of file Tracker.cpp.
void Tracker::Reset | ( | ) |
Calls ClearPoints and sets pointer to last image and gradients to zero.
Definition at line 202 of file Tracker.cpp.
|
protected |
Definition at line 141 of file Tracker.cpp.
|
protected |
adapts the internal memory to new pyramid size and new point count if necessary.
Definition at line 158 of file Tracker.cpp.
|
inline |
Definition at line 295 of file Tracker.hh.
|
inline |
Definition at line 322 of file Tracker.hh.
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inline |
Definition at line 329 of file Tracker.hh.
|
inline |
Definition at line 341 of file Tracker.hh.
|
inline |
Definition at line 332 of file Tracker.hh.
|
inline |
Definition at line 346 of file Tracker.hh.
|
inline |
Definition at line 302 of file Tracker.hh.
|
inline |
Definition at line 326 of file Tracker.hh.
|
inline |
Definition at line 336 of file Tracker.hh.
|
inline |
Definition at line 308 of file Tracker.hh.
|
inline |
Definition at line 319 of file Tracker.hh.
|
inline |
!!! Also used for X84M as maximal residuum.
That is features with a residuum <= 'maxres' will be accept automatically! !!!
Definition at line 316 of file Tracker.hh.
|
inline |
Definition at line 292 of file Tracker.hh.
void Tracker::SetTrackerType | ( | int | tracker_type | ) |
Definition at line 1308 of file Tracker.cpp.
References BIAS::TT_Affine, BIAS::TT_Affine2, BIAS::TT_Homography, BIAS::TT_Similar, BIAS::TT_Simple, BIAS::TT_SimpleWeighted, and BIAS::TT_Weighted1D.
|
inline |
Definition at line 305 of file Tracker.hh.
|
inlineinherited |
|
virtual |
Tracks all points from the internal data structure Points_.
Reimplemented in BIAS::TrackerSynth< StorageType, CalculationType >.
Definition at line 874 of file Tracker.cpp.
Referenced by BIAS::TrackerSynth< StorageType, CalculationType >::Track().
|
virtual |
tracks all points in Points_ using prediction as previous knowledge
Reimplemented in BIAS::TrackerSynth< StorageType, CalculationType >.
Definition at line 883 of file Tracker.cpp.
References BIAS::PyramidImageInterface< StorageType >::GetPositionOffset(), BIAS::TimeMeasure::GetRealTime(), BIAS::PyramidImageInterface< StorageType >::GetRescaleFactor(), BIAS::PyramidImageInterface< StorageType >::GetSingleImage(), BIAS::TimeMeasure::Reset(), BIAS::ImageIO::Save(), BIAS::PyramidImageInterface< StorageType >::size(), BIAS::TimeMeasure::Start(), BIAS::TimeMeasure::Stop(), and BIAS::PyramidImageInterface< StorageType >::WriteImages().
|
virtual |
Tracks all points from the internal data structure Points_.
Definition at line 632 of file Tracker.cpp.
|
virtual |
tracks all points in Points_ using prediction as previous knowledge
Definition at line 639 of file Tracker.cpp.
References BIAS::PyramidImageInterface< StorageType >::GetPositionOffset(), BIAS::TimeMeasure::GetRealTime(), BIAS::PyramidImageInterface< StorageType >::GetRescaleFactor(), BIAS::PyramidImageInterface< StorageType >::GetSingleImage(), BIAS::TimeMeasure::Reset(), BIAS::ImageIO::Save(), BIAS::PyramidImageInterface< StorageType >::size(), BIAS::TimeMeasure::Start(), BIAS::TimeMeasure::Stop(), and BIAS::PyramidImageInterface< StorageType >::WriteImages().
|
protected |
Definition at line 1345 of file Tracker.cpp.
References BIAS::Matrix< T >::GetData(), BIAS::FilterMask::Init(), TNT::Vector< T >::newsize(), TNT::Matrix< T >::newsize(), and BIAS::Vector< T >::Size().
int Tracker::WriteTrackFile | ( | std::deque< std::vector< HomgPoint2D > > & | p, |
std::deque< std::vector< int > > & | results, | ||
const std::string & | name | ||
) |
write a track file in Birchfeld-style.
The file is independent of internal data structures. p[i][k] is point number k in image i and results[i][k] is result for point number k in image i.
Definition at line 1203 of file Tracker.cpp.
|
protected |
logs reasons for lost tracks into tracker.log
Definition at line 1142 of file Tracker.cpp.
|
protectedinherited |
Definition at line 510 of file Debug.hh.
Referenced by BIAS::Debug::operator=(), and BIAS::ImageBase::operator=().
|
protectedinherited |
new concept, debuglevel are managed here in the debug class
Definition at line 516 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protectedinherited |
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
staticprotectedinherited |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protected |
prediction for affine warping, same for all pyramid levels
Definition at line 411 of file Tracker.hh.
|
protected |
results of affine tracking
Definition at line 409 of file Tracker.hh.
|
protected |
covariance matrices
Definition at line 407 of file Tracker.hh.
|
protected |
displacement inlast iteration
Definition at line 401 of file Tracker.hh.
|
staticprotectedinherited |
|
protected |
the gradient filter
Definition at line 375 of file Tracker.hh.
|
protected |
Definition at line 413 of file Tracker.hh.
|
protected |
Definition at line 413 of file Tracker.hh.
|
protected |
Definition at line 384 of file Tracker.hh.
|
protected |
Definition at line 419 of file Tracker.hh.
|
protected |
Definition at line 419 of file Tracker.hh.
|
protected |
Definition at line 418 of file Tracker.hh.
|
protected |
the lowpass filter
Definition at line 378 of file Tracker.hh.
|
protected |
Definition at line 413 of file Tracker.hh.
|
protected |
Definition at line 382 of file Tracker.hh.
|
protected |
the parameter
Definition at line 381 of file Tracker.hh.
|
protected |
Definition at line 383 of file Tracker.hh.
|
protected |
number of iterations used
Definition at line 399 of file Tracker.hh.
|
protected |
temporary data
Definition at line 391 of file Tracker.hh.
|
protected |
the point position in the actual image
Definition at line 397 of file Tracker.hh.
|
protected |
the prediction for every pyramid image
Definition at line 395 of file Tracker.hh.
|
protected |
Definition at line 385 of file Tracker.hh.
|
protected |
result code for every point
Definition at line 393 of file Tracker.hh.
|
protected |
mean absolute grey level difference (MAD) in tracking window
Definition at line 403 of file Tracker.hh.
|
protected |
mean squared grey level difference (MSD) in tracking window
Definition at line 405 of file Tracker.hh.
|
protected |
the base tracker
Definition at line 372 of file Tracker.hh.
|
protected |
set if you want to keep track of points regardless of trackability in highest resolution
Definition at line 388 of file Tracker.hh.
|
protected |
Definition at line 415 of file Tracker.hh.