[opencv] Mat ROI


ROI method


#include 
#include 
#include 
#include 
#include 

using namespace std;
using namespace cv;

#define PATCH_SIZE		 64
#define PATCH_WIDTHSTEP  64
#define PATCH_HEIGHTSTEP 64


void main()
{
	Mat img = imread( "test.jpg");	
	int rows = img.rows-PATCH_WIDTH-2;
	int cols = img.cols-PATCH_HEIGHT-2;

	for( int i=0; i

'Library > opencv' 카테고리의 다른 글

lib svm  (0) 2013.01.25
openCV SVM  (0) 2013.01.25
HOG, SVM  (0) 2013.01.16
opencv font  (0) 2012.11.23
opencv camera frame rate  (0) 2012.11.23

댓글

Designed by JB FACTORY