Definition at line 290 of file mainTalk.cpp. References Impala::Core::Array::Element::E1Cast(), gVerbose, Impala::Core::Array::Pattern::PatRecGenConv2dSep(), and Impala::Core::Array::PrintData(). Referenced by mainTalk(). 00291 { 00292 std::cout << std::endl << std::endl << std::endl; 00293 std::cout << "============== DoTalkRecGenConv2dSep =============" << std::endl; 00294 00295 //typedef Array2dScalarInt32 SRCT; 00296 typedef Array2dScalarReal64 SRCT; 00297 //typedef Array2dVec3Real64 SRCT; 00298 typedef Array2dScalarReal64 KERT; 00299 //typedef Array2dVec3Real64 KERT; 00300 typedef Array2dScalarReal64 REST; 00301 //typedef Array2dVec3Real64 REST; 00302 00303 SRCT* im = TalkImage<SRCT>("Input image: ", 0, 1, 5, 5); 00304 00305 KERT* ker2 = TalkKernel<KERT>("k1d_3 image: ", 1, 2); 00306 KERT* ker1 = TalkKernel<KERT>("k1d_5 image: ", 1, 1); 00307 00308 REST* res = 0; 00309 TalkBpoVal<KERT, KERT, KERT> bpo(gVerbose, true); 00310 TalkBpoAssignVal<KERT, KERT> bpoAss(gVerbose, false, 1000000); 00311 typedef KERT::ArithType KerArithT; 00312 KerArithT normFactor = Element::E1Cast(1, KerArithT()); 00313 PatRecGenConv2dSep(res, im, ker1, ker2, 00314 normFactor, normFactor, normFactor, normFactor, 00315 bpo, bpoAss, 0); 00316 00317 std::cout << std::endl << "result: " << std::endl; 00318 PrintData(res, false); 00319 }
Here is the call graph for this function:
|