Definition at line 359 of file BayesFusion.h. References Impala::Core::Database::RawDataSet::GetFilePathAnnotation(), Impala::Core::Table::Bayes::mAnnoImgSet, Impala::Core::Table::Bayes::mAnnoVidSet, and Impala::Core::Table::Bayes::mIsImageSet. 00360 { 00361 std::string fName; 00362 00363 if (mIsImageSet) 00364 fName = mAnnoImgSet->GetFilePathAnnotation(name,false,false); 00365 else 00366 fName = mAnnoVidSet->GetFilePathAnnotation(name,false,false); 00367 FILE* fp = fopen(fName.c_str(),"rb"); 00368 00369 if (NULL == fp) 00370 { 00371 std::cout << "File does NOT exist: " << name << "" << std::endl; 00372 return false; 00373 } 00374 00375 fread(&nRow, sizeof(int), 1, fp); //mConceptNum 00376 fread(&nCol, sizeof(int), 1, fp); //mGenreNum 00377 00378 fclose(fp); 00379 00380 return true; 00381 00382 }
Here is the call graph for this function:
|