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

void Impala::Core::Feature::VisSem::DoUNC ( FeatureTableSet regionSim,
int  regionFeature 
) [inline, private]

Definition at line 370 of file VisSem.h.

References Impala::Core::Vector::DivAssign(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get2(), Impala::Core::Feature::FeatureTableSet::GetTable(), Impala::Core::Feature::Computor::mPyramid, Impala::Core::Geometry::RectanglePyramid::NrRects(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Set2(), Impala::Core::Feature::FeatureTableSet::Size(), and Impala::Core::Vector::Sum().

Referenced by ComputeFeaturesPixelSet().

00371     {
00372         for (int r=0 ; r<mPyramid.NrRects(regionFeature) ; r++)
00373         {
00374             Real64 totWeight = 0;
00375             for (int t=0 ; t<regionSim->Size() ; t++)
00376             {
00377                 VectorReal64 regionVec = regionSim->GetTable(t)->Get2(r);
00378                 totWeight += Sum(regionVec);
00379             }
00380             for (int t=0 ; t<regionSim->Size() ; t++)
00381             {
00382                 VectorReal64 regionVec = regionSim->GetTable(t)->Get2(r);
00383                 DivAssign(regionVec, totWeight);
00384                 regionSim->GetTable(t)->Set2(r, regionVec);
00385             }
00386         }
00387     }

Here is the call graph for this function:


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