public void updateTracks ( I input , PyramidDiscrete < I > pyramid , D [ ] derivX , D [ ] derivY ) { // forget recently dropped or spawned tracks tracksSpawned . clear ( ) ; // save references this . input = input ; trackerKlt . setInputs ( pyramid , derivX , derivY ) ; trackUsingKlt ( tracksPureKlt ) ; trackUsingKlt ( tracksReactivated ) ; }
Updates the location and description of tracks using KLT . Saves a reference to the input image for future processing .