Description: [code]#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
#include <stdio.h>
int main( int argc, char** argv ) {
IplImage*src,*templ,*ftmp[6] //ftmp will hold results
int i
if( argc == 3){
//Read in the source image to be searched:
if((src=cvLoadImage(argv[1], 1))== 0) {
printf("Error on reading src image s\n",argv[i])
return(-1)
}
To Search:
File list (Check if you may need any files):
模板匹配
........\1.jpg
........\7-5.cpp
........\7-5.dsp
........\7-5.dsw
........\7-5.ncb
........\7-5.opt
........\7-5.plg
........\Debug
........\.....\7-5.exe
........\.....\7-5.ilk
........\.....\7-5.obj
........\.....\7-5.pch
........\.....\7-5.pdb
........\.....\vc60.idb
........\.....\vc60.pdb
........\.....\模板匹配.exe
........\.....\模板匹配.ilk
........\.....\模板匹配.pch
........\.....\模板匹配.pdb
........\模板匹配.dsp
........\模板匹配.dsw
........\模板匹配.ncb
........\模板匹配.opt
........\模板匹配.plg