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

void Impala::Core::Feature::Computor::ReadProtoFeatureTableSet ( String  protoSet,
String  maskSet 
) [inline]

Definition at line 397 of file Computor.h.

References Impala::FileNameBase(), Impala::Core::Database::RawDataSet::GetDatabase(), Impala::Core::Database::RawDataSet::GetFilePathPrototype(), Impala::Core::Database::RawDataSet::GetLocator(), GetName(), Impala::Core::Feature::LabelSet::Load(), Impala::Core::Database::MakeRawDataSet(), mMaskSetBase, mProtoDataFile, mProtoFeatureTableSet, mProtoLabels, and ReadFeatureTableSet().

Referenced by Impala::Core::Feature::VisSem::ReadPrototypes().

00398     {
00399         mMaskSetBase = FileNameBase(maskSet);
00400         Database::RawDataSet* annoSet = Database::MakeRawDataSet(protoSet);
00401 #ifndef REPOSITORY_USED // Here comes the deprecated stuff
00402         String fName = annoSet->GetFilePathPrototype
00403                 (mProtoDataFile, GetName(), GetName()+"_all.txt", false, false);
00404         if (!maskSet.empty())
00405         {
00406             maskSet = annoSet->GetFilePathPrototype(mProtoDataFile, GetName(),
00407                                                     maskSet, false, false);
00408         }
00409         Util::Database* db = annoSet->GetDatabase();
00410         ReadFeatureTableSet(fName, db, mProtoFeatureTableSet, maskSet);
00411         fName = annoSet->GetFilePathPrototype
00412             (mProtoDataFile, GetName(), GetName()+"_label.txt", false, false);
00413         mProtoLabels.Load(fName, db);
00414         delete annoSet;
00415 #else // REPOSITORY_USED
00416         String container = mProtoDataFile + "/" + GetName();
00417         FeatureLocator loc(annoSet->GetLocator(), true, false, "",
00418                            GetName()+"_all.txt", container);
00419         ReadFeatureTableSet(loc, mProtoFeatureTableSet, maskSet);
00420         loc.SetFeatureString(GetName()+"_label.txt");
00421         mProtoLabels = Persistency::LabelSetRepository().Get(loc);
00422         delete annoSet;
00423 #endif // REPOSITORY_USED
00424     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:08:59 2010 for ImpalaSrc by  doxygen 1.5.1