summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/imageProcessing/interfaces/int_cvhighgui.hpp
diff options
context:
space:
mode:
authorsiddhu89902016-10-18 10:31:23 +0530
committersiddhu89902016-10-18 10:31:23 +0530
commitcdd9bf519d594b87c07193d2770b81a07829a50c (patch)
treec8985f43c314cafcfa04053a821116424d54c2a1 /2.3-1/src/c/imageProcessing/interfaces/int_cvhighgui.hpp
parentf0ef5a2d4560f166751b58020ee5a2bc70904611 (diff)
downloadScilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.tar.gz
Scilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.tar.bz2
Scilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.zip
Suppressed declaration of not required variables and functions
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__*/