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

void Impala::Samples::MonetTest::DoCheckSegmentation ( Connection *  conn  ) 

Definition at line 632 of file mainMonetTest.cpp.

References Impala::Core::VideoSet::Segmentation::Diff(), Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, ILOG_VAR, MakeSegmentationMapi(), and Impala::Core::VideoSet::MakeVideoSet().

Referenced by mainMonetTest().

00633 {
00634     ILOG_VAR(Impala.Samples.MonetTest.DoCheckSegmentation);
00635     CmdOptions& options = CmdOptions::GetInstance();
00636     if (options.GetNrArg() < 5)
00637     {
00638         ILOG_ERROR("Need more parameters");
00639         return;
00640     }
00641 
00642     String vidSetName = options.GetArg(4);
00643     VideoSet* vidSet = Core::VideoSet::MakeVideoSet(vidSetName);
00644     Segmentation segmentation(vidSet, "segmentation");
00645     Segmentation* segmentation2 = MakeSegmentationMapi(vidSet, conn);
00646     segmentation.Diff(segmentation2);
00647     delete segmentation2;
00648     delete vidSet;
00649 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:38:20 2010 for ImpalaSrc by  doxygen 1.5.1