summaryrefslogtreecommitdiff
path: root/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
commit52de97290366abe6cfb0576ca19d9c1732c1f0ea (patch)
treec2effe8b6e60c112b126f1d39ddb0d82253dc4e9 /src/c/imageProcessing/interfaces/int_cvhighgui.hpp
parent9a30882032e80661fe6c69d7c50da0154e4e431f (diff)
downloadScilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.tar.gz
Scilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.tar.bz2
Scilab2C_fossee_old-52de97290366abe6cfb0576ca19d9c1732c1f0ea.zip
Suppressed declaration of not required variables and functions
Diffstat (limited to 'src/c/imageProcessing/interfaces/int_cvhighgui.hpp')
-rw-r--r--src/c/imageProcessing/interfaces/int_cvhighgui.hpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/c/imageProcessing/interfaces/int_cvhighgui.hpp b/src/c/imageProcessing/interfaces/int_cvhighgui.hpp
index 8e1a989..60d6ffd 100644
--- a/src/c/imageProcessing/interfaces/int_cvhighgui.hpp
+++ b/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__*/