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

void Impala::Application::Im::DoRecGaussVec3UInt8 (  ) 

Definition at line 332 of file mainIm.cpp.

References Impala::atof(), Impala::atol(), Impala::CmdOptions::GetArg(), Impala::Util::Database::GetInstance(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, ILOG_VAR, Impala::Core::Array::ReadRaw(), Impala::Core::Array::RecGauss(), Impala::Core::Array::RGB2Intensity(), and Impala::Core::Array::WriteRaw().

Referenced by mainIm().

00333 {
00334     ILOG_VAR(Impala.Application.Im.DoRecGaussVec3UInt8);
00335     CmdOptions& options = CmdOptions::GetInstance();
00336     if (options.GetNrArg() < 8)
00337     {
00338         ILOG_ERROR("Need more arguments");
00339         return;
00340     }
00341     Util::Database* db = &Util::Database::GetInstance();
00342 
00343     String dstName = options.GetArg(1);
00344     String srcName = options.GetArg(2);
00345     double sigmaX = atof(options.GetArg(3));
00346     double sigmaY = atof(options.GetArg(4));
00347     int derX = atol(options.GetArg(5));
00348     int derY = atol(options.GetArg(6));
00349     int recOrder = atof(options.GetArg(7));
00350 
00351     Array2dVec3UInt8* srcData = 0;
00352     ReadRaw(srcData, srcName, db);
00353     Array2dScalarReal64* rData = 0;
00354     RGB2Intensity(rData, srcData);
00355     Array2dScalarReal64* res = 0;
00356     RecGauss(res, rData, sigmaX, sigmaY, derX, derY, recOrder);
00357     WriteRaw(res, dstName, db, true);
00358     delete srcData;
00359     delete rData;
00360     delete res;
00361 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:42:16 2010 for ImpalaSrc by  doxygen 1.5.1