Definition at line 186 of file IdentificationPane.h. References ClearSimilars(), Impala::Application::SDash::CORRELATED_PER_ROI, Impala::Application::SDash::RoiInfo::frameNr, Impala::Application::SDash::RegionsOfInterestInfo::GetAbsRoiNr(), Impala::Application::SDash::RegionsOfInterestCorrelation::GetAllCorrelated(), Impala::Application::SDash::RegionsOfInterestInfo::GetRoiInfo(), mRoiCorrelations, mRoiInfo, mRoisOfSimilars, mVideos, Impala::Application::SDash::RoiInfo::roiNr, and Impala::Application::SDash::RoiInfo::videoId. Referenced by Impala::Application::SDash::SurveillanceApp::ButtonSelectionEvent(). 00187 { 00188 int absRoiNr = mRoiInfo->GetAbsRoiNr(subjRoi.videoId, subjRoi.frameNr, subjRoi.roiNr); 00189 const unsigned short* similarsP = mRoiCorrelations->GetAllCorrelated(absRoiNr); 00190 00191 ClearSimilars(); 00192 00193 for (int i = 0; i < CORRELATED_PER_ROI; i++) 00194 { 00195 RoiInfo similRoi = mRoiInfo->GetRoiInfo(*similarsP); 00196 //if (similRoi.videoId >= 0 && similRoi.videoId < mNrOfVideosStreet) 00197 if (similRoi.videoId >= 0 && similRoi.videoId < mVideos.size()) 00198 { 00199 if (similRoi.frameNr <= maxFrameNr) 00200 { 00201 if (!mVideos[similRoi.videoId].IsMovementFrame(similRoi.frameNr)) 00202 { 00203 mRoisOfSimilars.push_back(similRoi); 00204 } 00205 //else 00206 //{ 00207 // printf("roi %i of movement frame %i of video %i skipped as similar\n", similRoi.roiNr, similRoi.frameNr, similRoi.videoId); 00208 //} 00209 } 00210 } 00211 00212 similarsP++; 00213 } 00214 }
Here is the call graph for this function:
|