diff options
author | N.N. <sevyves@users.sourceforge.net> | 2009-08-15 12:33:38 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2009-08-15 12:33:38 +0000 |
commit | 20c08678d50435c2311ec0956adb20e5fa897338 (patch) | |
tree | 935ae0c980e1937e71a45ec7fc298cdda634d521 /pdp_opencv_distrans.c | |
parent | 242cfbc0ac5e30fd1fef7ea05b1fa179d8526f17 (diff) |
added contours compare, hist compare, knearest (OCR), cleanups
svn path=/trunk/externals/pdp_opencv/; revision=11920
Diffstat (limited to 'pdp_opencv_distrans.c')
-rw-r--r-- | pdp_opencv_distrans.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pdp_opencv_distrans.c b/pdp_opencv_distrans.c index 64adc2b..4fa2aba 100644 --- a/pdp_opencv_distrans.c +++ b/pdp_opencv_distrans.c @@ -133,8 +133,6 @@ static void pdp_opencv_distrans_process_rgb(t_pdp_opencv_distrans *x) memcpy( newdata, data, x->x_size*3 ); - - // FEM UNA COPIA DEL PACKET A x->grey->imageData ... http://www.cs.iit.edu/~agam/cs512/lect-notes/opencv-intro/opencv-intro.html aqui veiem la estructura de IplImage memcpy( x->image->imageData, data, x->x_size*3 ); cvCvtColor(x->image, x->gray, CV_BGR2GRAY); @@ -181,10 +179,7 @@ static void pdp_opencv_distrans_process_rgb(t_pdp_opencv_distrans *x) } } - //cvShowImage( wndname, dist8u ); - memcpy( newdata, x->dist8u->imageData, x->x_size*3 ); - return; } |