From 84edee1c3aafb3e12ce075c1172c0b2757ea462f Mon Sep 17 00:00:00 2001 From: even <philippe.even@loria.fr> Date: Sat, 16 May 2020 17:38:31 +0200 Subject: [PATCH] Code: useless detection restart count in fast track --- Code/FBSD/BlurredSegment/bstracker.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Code/FBSD/BlurredSegment/bstracker.cpp b/Code/FBSD/BlurredSegment/bstracker.cpp index a2bebd3..63abef5 100755 --- a/Code/FBSD/BlurredSegment/bstracker.cpp +++ b/Code/FBSD/BlurredSegment/bstracker.cpp @@ -118,8 +118,6 @@ BlurredSegment *BSTracker::fastTrack (int bsMaxWidth, // Extends the segment int lstop = 0; int rstop = 0; - int lstart = 0; - int rstart = 0; bool added = false; bool scanningRight = true; bool scanningLeft = true; @@ -186,8 +184,6 @@ BlurredSegment *BSTracker::fastTrack (int bsMaxWidth, } } } - if (rstart) bs.removeRight (rstart); - if (lstart) bs.removeLeft (lstart); delete ds; return (bs.endOfBirth ()); } -- GitLab