From: <ina...@us...> - 2015-01-26 15:04:44
|
Revision: 1028 http://sourceforge.net/p/swistrack/code/1028 Author: inakinavarro Date: 2015-01-26 15:04:42 +0000 (Mon, 26 Jan 2015) Log Message: ----------- ComponentBlobDetectionRedGreen.cpp corrected to add timestamp Modified Paths: -------------- trunk/Code/core/ComponentBlobDetectionRedGreen.cpp Modified: trunk/Code/core/ComponentBlobDetectionRedGreen.cpp =================================================================== --- trunk/Code/core/ComponentBlobDetectionRedGreen.cpp 2014-07-18 14:59:29 UTC (rev 1027) +++ trunk/Code/core/ComponentBlobDetectionRedGreen.cpp 2015-01-26 15:04:42 UTC (rev 1028) @@ -124,6 +124,8 @@ newparticle.mCenter.x = ((*k_min).mCenter.x + (*i).mCenter.x) * 0.5; newparticle.mCenter.y = ((*k_min).mCenter.y + (*i).mCenter.y) * 0.5; newparticle.mOrientation = atan2((*k_min).mCenter.y - (*i).mCenter.y, (*k_min).mCenter.x - (*i).mCenter.x); + newparticle.mFrameNumber = mCore->mDataStructureInput.mFrameNumber; + newparticle.mTimestamp = mCore->mDataStructureInput.FrameTimestamp(); mParticles.push_back(newparticle); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |