cvCvtColor Memory usage
Hello,
I am running a program that requires continuous usage of the cvCvtColor() method, however only once per iteration (approximately 100 hz). The usage is simple, I have two IplImage* variables, imageBGR and imageHSV where the BGR is converted to HSV by;
IplImage* imageBGR,imageHSV;
imageBGR = imread("blah.jpeg",3);
cvCvtColor(imageBGR, imageHSV, CV_BGR2HSV);
When I run the program, with nothing else in the background, cvCvtColor()
continuously consumes about 10 MB every 5 seconds, accruing memory.
Does anyone know a solution, or heard of this problem before?