Commit 5d599f1c authored by Andrew Cohen's avatar Andrew Cohen

Merge branch 'master' of git-bioimage.coe.drexel.edu:bioimage/leverjs

parents da0a92d2 65ef0eb7
......@@ -353,11 +353,8 @@ int goTrack(cmdElement * pcmd)
gOverRideTrackIDs.clear();
gHulls.clear();
gHashedHulls.clear();
// todo -- do we need to redo this?
// size it for the time window
gHashedHulls.resize(NFRAMES + 1);
readCells(t,pcmd);
if (pcmd->bReseg) {
gWindowSize = WINDOW_SIZE_RESEG;
// reseg is from t-1 to t. initial seg is from t to t+1.
......@@ -367,7 +364,10 @@ int goTrack(cmdElement * pcmd)
gWindowSize = WINDOW_SIZE_DEFAULT;
//
}
// every cell in t+1 (except for patchees) gets reset -- set trackID=cellID
ResetTrackIDs(t + 1);
readCells(t, pcmd);
// put database into write mode -- we turn this off below after we finish tracking and update the command to indicate we're done
SetTransactionDB("BEGIN");
trackHulls(t);
......
No preview for this file type
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment