About
  1. | API Documentation
  2. | Common
  3. | free_functions
  4. | MatchingAlgorithmBase
  5. | MatchPoints

MatchPoints

Defined in <MatchingAlgorithmBase.h>

This is the function that does all of the heavy lifting for pairing up points from different camera views.


void MatchPoints(uint64_t & oFirstMatchTimestep, PixelSet & ioPixelsToTrack, const TrackerConfigFile & iConfig, const ImageSet & iTimestepImages, const std::pair<unsigned long, std::set<unsigned long>> & iCamIndexesToExclude, bool (*)() CancelFunc, std::vector<std::vector<std::vector<int32_t>> > & oBestFit, std::vector<double> & oBestFitErrors, PixelSet & oFirstTimestepWithAllPoints)
(1)
  1. This is the interface function your correspondence plugin code needs to follow.
    Parameters:
    • uint64_t & oFirstMatchTimestep : The index of the timestep where all of the cameras see the correct number of points.
    • PixelSet & ioPixelsToTrack
    • const TrackerConfigFile & iConfig
    • const ImageSet & iTimestepImages : The images used to get the thresholded pixels.
    • const std::pair<unsigned long, std::set<unsigned long>> & iCamIndexesToExclude : The user can decide not to use all cameras in the correspondence. Perhaps because one camera doesn't have a good view. This contains the camera indexes to not use.
    • bool (*)() CancelFunc : This function returns whether or not the user has attempted to cancel the action.
    • std::vector<std::vector<std::vector<int32_t>> > & oBestFit : The ordering of
    • std::vector<double> & oBestFitErrors
    • PixelSet & oFirstTimestepWithAllPoints

SnakeStrike — An program for high-speed multi-camera data collection and triangulation.

Page owner(s): gwjensen  Last updated: 2020-09-28 07:40:17 +0000