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

HistSetType* Impala::Core::Feature::VisSem::NewHistSet (  )  [inline, private]

Definition at line 283 of file VisSem.h.

References Impala::Core::Feature::Computor::GetName(), Impala::Core::Feature::Computor::GetPixelFeatureSetSize(), mHistBinCount, and Impala::Core::Histogram::Histogram1dSet< ArrayT >::SetRange().

Referenced by AddImageToAccu(), ComputeFeaturesPixelSet(), ComputeRegionFeatures(), ImageStat(), and VisSem().

00284     {
00285         // default range
00286         HistSetType* hSet = new HistSetType(-1.0, 1.0, mHistBinCount,
00287                                             GetPixelFeatureSetSize());
00288         if (GetName() == "vissemgabor")
00289         {
00290             for (int i=0 ; i<GetPixelFeatureSetSize()-2 ; i++)
00291             { // adjust range for texture
00292                 if (i%3 == 0)
00293                     hSet->SetRange(i, -0.0001, 1.0);
00294                 else
00295                     hSet->SetRange(i, -0.0001, 0.5);
00296             }
00297         }
00298         return hSet;
00299     }

Here is the call graph for this function:


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