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

virtual void Impala::Core::Feature::VisSem::ComputeRegionFeatures ( Array::Array2dVec3UInt8 im,
Quid  quid 
) [inline, virtual]

Implements Impala::Core::Feature::Computor.

Definition at line 128 of file VisSem.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), CheckRegionDescriptor(), ComputePixelFeatureSet(), ComputeRegionDescriptor(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), Impala::Core::Feature::Computor::GetNrPixelFeatureSets(), Impala::Core::Feature::Computor::GetRegionFeatureTable(), Impala::Core::Histogram::MakeHistogram1dSet(), Impala::Core::Feature::Computor::mPyramid, NewHistSet(), Impala::Core::Geometry::RectanglePyramid::NrLevels(), Impala::Core::Geometry::RectanglePyramid::NrRects(), Impala::Core::Geometry::RectanglePyramid::Rect(), and Impala::Core::Geometry::RectanglePyramid::SetImageSize().

00129     {
00130         HistSetType* hSet = NewHistSet();
00131         for (int p=0 ; p<GetNrPixelFeatureSets() ; p++)
00132         {
00133             InvSetType invSet;
00134             ComputePixelFeatureSet(invSet, p, im);
00135             Array2dScalarReal64* a = invSet.Array(0);
00136             mPyramid.SetImageSize(a->CW(), a->CH());
00137             for (int l=0 ; l<mPyramid.NrLevels() ; l++)
00138             {
00139                 FeatureTable* tab = GetRegionFeatureTable(p, l);
00140                 for (int r=0 ; r<mPyramid.NrRects(l) ; r++)
00141                 {
00142                     Geometry::Rectangle rect = mPyramid.Rect(l, r);
00143                     Histogram::MakeHistogram1dSet(hSet, invSet, rect, true);
00144                     VectorReal64 vec = ComputeRegionDescriptor(hSet);
00145                     if (CheckRegionDescriptor(vec))
00146                         tab->Add(quid, vec);
00147                 }
00148             }
00149             invSet.Delete();
00150         }
00151         delete hSet;
00152     }

Here is the call graph for this function:


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