1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
projectionResult_img_debug = cvReshape( projectionResult_line, &row_header_temp, 0, rect_list[9].height );
projectionResult_img_debug2 = cvReshape( AverageImg_line, &row_header_temp, 0, rect_list[9].height );
projectionResult_img = cvReshape( projectionResult_line2, &row_header_temp, 0, rect_list[9].height );
//debug: printMatrixValues(projectionResult_line, 1200, 1250);
printMatrixValues(AverageImg_line, 1200, 1250);
printMatrixValues(projectionResult_line2, 1200, 1250);
IplImage img_t;
IplImage* img_t2 = cvGetImage( projectionResult_img_debug, &img_t );
IplImage img_t_2;
IplImage* img_t2_2 = cvGetImage( projectionResult_img, &img_t );
cvWaitKey(1);
cvShowImage("test", img_t2 );
cvWaitKey(1);
cvShowImage("test2", img_t2_2 );
cvWaitKey(1); |
Partager