Definition at line 323 of file mainTalk.cpp. References gVerbose, Impala::Core::Array::Pattern::PatNgbOp2d(), and Impala::Core::Array::PrintData(). Referenced by mainTalk(). 00324 { 00325 std::cout << std::endl << std::endl << std::endl; 00326 std::cout << "=============== DoTalkNgb2d =================" << std::endl; 00327 00328 typedef Array2dScalarInt32 SRCT; 00329 //typedef Array2dScalarReal64 SRCT; 00330 typedef Array2dScalarReal64 REST; 00331 00332 SRCT* im = TalkImage<SRCT>("Input image:", 0, 1, 2, 1); 00333 00334 REST* res = 0; 00335 TalkNgbP1Cnum<REST,SRCT> p1cnum(gVerbose); 00336 PatNgbOp2d(res, im, p1cnum); 00337 std::cout << std::endl << "result P1Cnum: " << std::endl; 00338 PrintData(res, false); 00339 00340 00341 TalkNgbP1Loop<REST,SRCT> p1loop(gVerbose, 5, 3); 00342 PatNgbOp2d(res, im, p1loop); 00343 std::cout << std::endl << "result P1Loop: " << std::endl; 00344 PrintData(res, false); 00345 00346 TalkNgbP2Loop<REST,SRCT> p2loop(gVerbose, 5, 3); 00347 PatNgbOp2d(res, im, p2loop); 00348 std::cout << std::endl << "result P2Loop: " << std::endl; 00349 PrintData(res, false); 00350 00351 TalkNgbPnLoop<REST,SRCT> pnloop(gVerbose, 5, 3); 00352 PatNgbOp2d(res, im, pnloop); 00353 std::cout << std::endl << "result PnLoop: " << std::endl; 00354 PrintData(res, false); 00355 }
Here is the call graph for this function:
|