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

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

Definition at line 35 of file MakeRawDataSet.h.

References Impala::Util::Database::GetFilePath(), ILOG_ERROR, ILOG_VAR, Impala::Core::ImageSet::MakeImageSet(), and Impala::Core::VideoSet::MakeVideoSet().

Referenced by Impala::Core::Training::ApplyConcepts::ApplyConcepts(), Impala::Application::Precompute::ChopMatrix(), Impala::Core::VideoSet::ComputeKernelData::ComputeKernelData(), Impala::Core::ImageSet::ComputeKernelData::ComputeKernelData(), Impala::Application::Util::DoAPConfusion(), Impala::Application::Util::DoDumpParameter(), Impala::Application::Repository::DoIndexAnnotatedFeatures(), Impala::Application::Util::DoScoreConcepts(), Impala::Application::Util::DoScoreConceptsVideo(), Impala::Application::Table::DoSelectFeatureTableSet(), Impala::Core::VideoSet::InterestPointProc::HandleNewWalk(), Impala::Core::ImageSet::InterestPointProc::HandleNewWalk(), Impala::Application::ConceptSet::mainConceptSet(), Impala::Application::mainConstructCodebook(), Impala::Application::Precompute::Precompute(), Impala::Core::Feature::Computor::ReadProtoFeatureTableSet(), and Impala::Application::RunDistributedLearningEngine().

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

Here is the call graph for this function:


Generated on Thu Jan 13 09:18:53 2011 for ImpalaSrc by  doxygen 1.5.1