window_gtk.cpp | 79 CvMat * original_image; member in struct:_CvImageWidget 122 if(widget->original_image && !CV_ARE_SIZES_EQ(mat, widget->original_image)){ 123 cvReleaseMat( &widget->original_image ); 125 if(!widget->original_image){ 126 widget->original_image = cvCreateMat( mat->rows, mat->cols, CV_8UC3 ); 129 cvConvertImage( mat, widget->original_image, 132 cvResize( widget->original_image, widget->scaled_image, CV_INTER_AREA ); 145 image_widget->original_image = 0; 248 if(image_widget->original_image != NULL) [all...] |