Adaptative Thresholding using Integral Images - functions from OpenCV

Adaptative Thresholding using Integral Images - functions from OpenCV

jfmarandola's picture

Hi !

I'm trying to compile one code that utilize the functions from OpenCV, but when it was executed it's not possible to call the libraries

#include
#include

thresholding.cpp:3:16: error: cv.h: Aucun fichier ou rpertoire de ce type
thresholding.cpp:4:21: error: highgui.h: Aucun fichier ou rpertoire de ce type
thresholding.cpp: In function int main(int, char**):
thresholding.cpp:78: error: IplImage was not declared in this scope
thresholding.cpp:78: error: cvFrame was not declared in this scope
thresholding.cpp:79: error: binImg was not declared in this scope
thresholding.cpp:82: error: cvLoadImage was not declared in this scope
thresholding.cpp:83: error: cvSize was not declared in this scope
thresholding.cpp:83: error: cvCreateImage was not declared in this scope
thresholding.cpp:85: error: cvNamedWindow was not declared in this scope
thresholding.cpp:90: error: cvShowImage was not declared in this scope
thresholding.cpp:93: error: cvWaitKey was not declared in this scope

Please, how can I run this code described below?

http://www.derekbradley.ca/AdaptiveThresholding/index.html

There is one function for calculation of integral image and performance thresholding.

Thanks,

Jmk

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.