Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

int Impala::Visualization::RotorBrowser::ThreadClusterSelector::GetNumberForThreshold (  )  [inline]

Definition at line 177 of file ThreadClusterSelector.h.

References GetRelevant(), GetTDelta(), GetThresholdForShotId(), ILOG_DEBUG, and mThresholdDelta.

Referenced by DecreaseSelectionSize(), DecreaseThreshold(), GetSelectedShotsCount(), GetSelectionSize(), GetVisibleShotsCount(), IncreaseSelectionSize(), IncreaseThreshold(), and ShowRelevantSquare().

00178     {
00179         bool goodShot = true;
00180         double thisShotSim = GetThresholdForShotId( GetRelevant(0) );
00181         ILOG_DEBUG("Base thres=" << thisShotSim);
00182         int ctr = 1;
00183         while (true)
00184         {
00185             double nextShotSim = GetThresholdForShotId( GetRelevant(ctr) );
00186 
00187             if (GetTDelta(thisShotSim, nextShotSim) > mThresholdDelta)
00188             {
00189                 ILOG_DEBUG(" pos " << ctr << " shot " << GetRelevant(ctr) <<
00190                            " score " << nextShotSim);
00191                 break;
00192             }
00193             if (ctr < 10)
00194                 ILOG_DEBUG(" pos " << ctr << " shot " << GetRelevant(ctr) <<
00195                            " score " << nextShotSim);
00196             ctr ++;
00197 
00198             if (ctr >= 96)
00199                 break;
00200         }
00201         ILOG_DEBUG("number of relevant images: " << ctr);
00202         return ctr;
00203     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:56:59 2010 for ImpalaSrc by  doxygen 1.5.1