diff options
Diffstat (limited to 'src/c/imageProcessing/includes')
-rw-r--r-- | src/c/imageProcessing/includes/cvcore.h | 2 | ||||
-rw-r--r-- | src/c/imageProcessing/includes/cvhighgui.h | 2 | ||||
-rw-r--r-- | src/c/imageProcessing/includes/cvimgproc.h | 31 |
3 files changed, 33 insertions, 2 deletions
diff --git a/src/c/imageProcessing/includes/cvcore.h b/src/c/imageProcessing/includes/cvcore.h index 317d99b..4f04e58 100644 --- a/src/c/imageProcessing/includes/cvcore.h +++ b/src/c/imageProcessing/includes/cvcore.h @@ -22,7 +22,7 @@ extern "C" { #include "opencv2/core/core.hpp" IplImage* imcvCreateImages(int width, int height, char *bit_depth, uint8 no_of_ch); - +void imcvGetImgSizes(IplImage* src, double* imgsize); #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/src/c/imageProcessing/includes/cvhighgui.h b/src/c/imageProcessing/includes/cvhighgui.h index cae3dd1..2e959a5 100644 --- a/src/c/imageProcessing/includes/cvhighgui.h +++ b/src/c/imageProcessing/includes/cvhighgui.h @@ -20,7 +20,7 @@ extern "C" { #include "types.h" #include "opencv2/core/core.hpp" -#include "opencv2/highgui.hpp" +#include "opencv2/highgui/highgui.hpp" IplImage* imcvLoadImages(char *filename, uint8 opentype); uint8 imcvShowImages(char *winname, IplImage* img); diff --git a/src/c/imageProcessing/includes/cvimgproc.h b/src/c/imageProcessing/includes/cvimgproc.h new file mode 100644 index 0000000..5d982e4 --- /dev/null +++ b/src/c/imageProcessing/includes/cvimgproc.h @@ -0,0 +1,31 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Siddhesh Wani + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#ifndef __CVIMGPROC_H__ +#define __CVIMGPROC_H__ + +#ifdef __cplusplus +extern "C" { +#endif + + +#include "types.h" +#include "opencv2/core/core.hpp" +#include "opencv2/imgproc/imgproc.hpp" + +uint8 imcvCvtColor(IplImage* src, IplImage* dst, char* code); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__CVIMGPROC_H__*/ |