¡@

Home 

2014/10/15 ¤U¤È 10:05:53

iphone Programming Glossary: cvtcolor

matchTemplate opencv not working as shown in opencv document

http://stackoverflow.com/questions/12049358/matchtemplate-opencv-not-working-as-shown-in-opencv-document

image cv Mat grayMat if cvMat.channels 1 grayMat cvMat else grayMat cv Mat cvMat.rows cvMat.cols CV_8UC1 cv cvtColor cvMat grayMat CV_BGR2GRAY return grayMat UIImage scaleAndRotateImageBackCamera UIImage image static int kMaxResolution 640.. nil std vector cv Point markerPoints input image src_img UIImageCVMatConverter cvMatFromUIImage cameriaInputImage cv cvtColor src_img debug_img CV_GRAY2BGR for NSString marker in markerImages template_img UIImageCVMatConverter cvMatFromUIImage UIImage.. for NSString marker in markerImages template_img UIImageCVMatConverter cvMatFromUIImage UIImage imageNamed marker cv cvtColor template_img template_img CV_GRAY2BGR int match_method CV_TM_CCORR_NORMED cv matchTemplate src_img template_img result_mat..

OpenCV install in xcode

http://stackoverflow.com/questions/12214273/opencv-install-in-xcode

image cv Mat grayMat if cvMat.channels 1 grayMat cvMat else grayMat cv Mat cvMat.rows cvMat.cols CV_8UC1 cv cvtColor cvMat grayMat CV_BGR2GRAY return grayMat UIImage scaleAndRotateImageBackCamera UIImage image static int kMaxResolution 640..

adjust corners and crop the image openCV

http://stackoverflow.com/questions/13098073/adjust-corners-and-crop-the-image-opencv

openGL for this @moosgummi I call your method in below method cv Mat finshWork cv Mat image Mat img0 image Mat img1 cvtColor img0 img1 CV_RGB2GRAY apply your filter Canny img1 img1 100 200 find the contours vector vector cv Point contours findContours..

OCR using openCV

http://stackoverflow.com/questions/13248680/ocr-using-opencv

self cvMatFromUIImage iv.image if src.data std cout Usage . Histogram_Demo path_to_image std endl Convert to grayscale cvtColor src src CV_BGR2GRAY Apply Histogram Equalization equalizeHist src dst iv.image self UIImageFromCVMat src Thanks 1 After..