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

Table::AnnotationTable* Impala::Core::Training::Factory::MakeAnnotation ( String  concept  )  [inline]

Definition at line 223 of file Factory.h.

References Impala::Core::Database::RawDataSet::GetLocator(), Impala::Core::Database::RawDataSet::GetQuidClass(), mConceptSet, and mDataSet.

Referenced by Impala::Application::CrossValidate(), SelectQuids(), and Impala::Application::TrainModel().

00224     {
00225         typedef Persistency::AnnotationTableLocator AnnotationTableLocator;
00226         typedef Persistency::AnnotationTableRepository AnnotationTableRepository;
00227         AnnotationTableLocator loc(mDataSet->GetLocator(),
00228                                    mDataSet->GetQuidClass(),
00229                                    mConceptSet, concept);
00230         Table::AnnotationTable* annotation = AnnotationTableRepository().Get(loc);
00232         /*
00233         int maxV = mProperties->GetInt("maxVideoId");
00234         mAnnotation->SelectQuidObjectMaxId(maxV);
00235         int maxP = mProperties->GetInt("maxPosPerVideo");
00236         mAnnotation->SelectQuidObjectMaxPositive(maxP);
00237         int maxN = mProperties->GetInt("maxNegPerVideo");
00238         mAnnotation->SelectQuidObjectMaxNegative(maxN);
00239         double pos = mAnnotation->GetNrPositive();
00240         double neg = mAnnotation->GetNrNegative();
00241         */
00242         ILOG_INFO_HEADNODE("Annotations: size = " << annotation->Size() );
00243         ILOG_INFO_HEADNODE("nr pos = "<< annotation->GetNrPositive() <<
00244                            ", nr neg = "<< annotation->GetNrNegative());
00245         return annotation;
00246     }

Here is the call graph for this function:


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