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

void Impala::Application::WindowShowImSet::InitData (  )  [inline, private]

Definition at line 77 of file mainShowImSet.cpp.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), Impala::CmdOptions::GetBool(), Impala::Core::ImageSet::ImageSet::GetImage(), Impala::Core::ImageSet::IxsDocument::GetImageSet(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetString(), ILOG_INFO, Impala::Core::Table::SimilarityTableSet::MakeFromFile(), Impala::Core::ImageSet::MakeIxsDocument(), mConceptRanking, mIxsDoc, mThumbHeight, mThumbWidth, and Impala::Core::ImageSet::ImageSet::SetImageSrc().

Referenced by WindowShowImSet().

00078     {
00079         CmdOptions& options = CmdOptions::GetInstance();
00080         String imSetName = options.GetString("imageSet");
00081         mIxsDoc = Core::ImageSet::MakeIxsDocument(imSetName);
00082         //mSegDoc = Core::VideoSet::MakeSegmentationDocument(videoSetName);
00083         
00084         Core::ImageSet::ImageSet* imSetThumb = mIxsDoc->GetImageSet();
00085         imSetThumb->SetImageSrc(options.GetBool("imArchive"),
00086                                 options.GetBool("imFileArchive"),
00087                                 options.GetBool("imSplitArchive"));
00088         if (imSetThumb)
00089         {
00090             Core::Array::Array2dVec3UInt8* im = imSetThumb->GetImage(0);
00091             mThumbWidth = im->CW();
00092             mThumbHeight = im->CH();
00093             delete im;
00094         }
00095 
00096         String conceptSetName = options.GetString("conceptSet");
00097         mConceptRanking = 0;
00098         if (!conceptSetName.empty())
00099         {
00100             String model = options.GetString("conceptModel");
00101             String feature = options.GetString("conceptFeature");
00102             ILOG_INFO("reading concept similarity set");
00103             mConceptRanking = Core::Table::SimilarityTableSet::MakeFromFile
00104                 (mIxsDoc->GetImageSet(), conceptSetName, model, feature);
00105         }
00106     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:37:45 2010 for ImpalaSrc by  doxygen 1.5.1