summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/imageProcessing/interfaces/int_cvhighgui.hpp
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/imageProcessing/interfaces/int_cvhighgui.hpp')
-rw-r--r--2.3-1/src/c/imageProcessing/interfaces/int_cvhighgui.hpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/2.3-1/src/c/imageProcessing/interfaces/int_cvhighgui.hpp b/2.3-1/src/c/imageProcessing/interfaces/int_cvhighgui.hpp
index 8e1a989e..60d6ffdd 100644
--- a/2.3-1/src/c/imageProcessing/interfaces/int_cvhighgui.hpp
+++ b/2.3-1/src/c/imageProcessing/interfaces/int_cvhighgui.hpp
@@ -20,9 +20,16 @@
//#define g2d0CV_LoadImageim0(filename,name_size,loadtype) imcvLoadImages(filename,loadtype)
#define g2d0CV_LoadImagemt0(filename,name_size,loadtype) imread(filename,loadtype)
-#define g2mt0CV_ShowImageu80(winname,win_size,img) imcvShowImages(winname,img)
-#define mt0CV_ShowImageu80(img) imcvShowImages("",img)
-#define d0CV_WaitKeyu80(delay) cvWaitKey(delay)
-#define g2mt0CV_SaveImageu80(filename,name_size,img) imwrite(filename,img)
+#define g2mt0CV_ShowImageu80(winname,win_size,img) imshow(winname,img)
+#define mt0CV_ShowImage(img) imshow("",img)
+
+#define d0CV_WaitKey(delay) waitKey((int)delay)
+#define s80CV_WaitKey(delay) waitKey((int)delay)
+#define u80CV_WaitKey(delay) waitKey((int)delay)
+#define i80CV_WaitKey(delay) waitKey((int)delay)
+#define u160CV_WaitKey(delay) waitKey((int)delay)
+#define i160CV_WaitKey(delay) waitKey((int)delay)
+
+#define g2mt0CV_SaveImage(filename,name_size,img) imwrite(filename,img)
#endif /*__INT_CVHIGHGUI_H__*/