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

RawDataSet* Impala::Core::Database::MakeRawDataSet ( String  setName,
bool  silentFailure = false 
) [inline]

Definition at line 36 of file MakeRawDataSet.h.

References Impala::Util::Database::GetFilePath(), ILOG_ERROR, and ILOG_VAR.

Referenced by Impala::Core::Training::ApplyConcepts::ApplyConcepts(), Impala::Core::VideoSet::ComputeKernelData::ComputeKernelData(), Impala::Core::ImageSet::ComputeKernelData::ComputeKernelData(), Impala::Application::Util::DoAPConfusion(), Impala::Application::Util::DoDumpParameter(), Impala::Application::Util::DoScoreConcepts(), Impala::Application::Util::DoScoreConceptsVideo(), Impala::Application::Table::DoSelectFeatureTableSet(), Impala::Core::ImageSet::InterestPointProc::HandleNewWalk(), Impala::Application::mainConstructCodebook(), Impala::Application::mainPrecomputeKernelMatrix(), and Impala::Core::Feature::Computor::ReadProtoFeatureTableSet().

00037 {
00038     ILOG_VAR(Impala.Core.Database.MakeRawDataSet);
00039     Util::Database* db = new Util::Database(setName);
00040 
00041     String path = db->GetFilePath("VideoData", setName, false, true);
00042     if (!path.empty())
00043         return new VideoSet::VideoSet(db, setName, true);
00044 
00045     path = db->GetFilePath("ImageData", setName, false, true);
00046     if (!path.empty())
00047         return new ImageSet::ImageSet(db, setName, true);
00048 
00049     if (!silentFailure)
00050         ILOG_ERROR("Unable to find " << setName);
00051     return 0;
00052 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:06:51 2010 for ImpalaSrc by  doxygen 1.5.1