Definition at line 160 of file BayesFusion.h. References conceptSimTable, Impala::FileNameBase(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), Impala::Core::Table::SimilarityTableSet::GetDescription(), Impala::Core::VideoSet::Keyframes::GetFrameId(), Impala::Core::VideoSet::Keyframes::GetName(), Impala::Core::Table::SimilarityTableSet::GetName(), Impala::Core::Table::SimilarityTableSet::GetSimTable(), Impala::Core::Table::Bayes::mConceptNum, mConceptSimSet, Impala::Core::Table::Bayes::mEnd, mKeyframes, mQuidTable, Impala::Core::Table::Bayes::mStart, Impala::Core::Table::Bayes::mVidSet, Impala::Core::VideoSet::VideoSet::QuidToString(), and Impala::Core::Table::Table::Size(). Referenced by DoFusion(). 00161 { 00162 std::cout << "SimilarityTableSet " << mConceptSimSet->GetDescription() << std::endl << std::endl; 00163 00164 //for (int k=0 ; k<mConceptSimSet->NrTables() ; k++) 00165 //_ASSERT(mConceptNum == mConceptSimSet->NrTables()); 00166 for (int k=0 ; k<mConceptNum ; k++) 00167 { 00168 //SimilarityTableSet::SimTableType* conceptSimTable = mConceptSimSet->GetSimTable(k); 00169 conceptSimTable[k] = mConceptSimSet->GetSimTable(k); 00170 00171 std::cout << "table " << k << ", name = " << mConceptSimSet->GetName(k) 00172 << std::endl; 00173 if (conceptSimTable[k]->Size() != mQuidTable->Size()) 00174 { 00175 //ILOG_ERROR("DumpRanking: simtable size doesn't match"); 00176 printf("DumpRanking: simtable size doesn't match\n"); 00177 continue; 00178 } 00179 String concept = mConceptSimSet->GetName(k); 00180 for (int i=mStart ; i<mEnd ; i++) 00181 { 00182 Quid quid = mQuidTable->Get1(i); 00183 //std::cout << i << ", "; 00184 std::cout << concept << ", "; 00185 int keyId = mKeyframes->GetFrameId(quid); 00186 if (keyId != -1) 00187 std::cout << FileNameBase(mKeyframes->GetName(keyId)) << ", "; 00188 else 00189 std::cout << mVidSet->QuidToString(quid, true) << ", "; 00190 std::cout << conceptSimTable[k]->Get1(i) << std::endl; 00191 } 00192 std::cout << std::endl; 00193 } 00194 }
Here is the call graph for this function:
|