I want to call cv::integral() function, located at sumpixels.cpp . I'm not using the integral image calculated for the square sum (3d argument - OutputArray _sqsum) , and would like to disable its calculation in order to save run time.
I'm not TOO familiar with the opencv environment.
Tried to call cv::integral()
function with NULL
as the 3d param - didn't work.
I entered the function (at sumpixels.cpp) and I saw there is this line:
if( _sqsum.needed() )
{
...
}
So I guess I can modify it manually to skip that if condition, but what would be the consequences of that? I see later the use of the parameter sqsum when calling IntegralFunc func method, what should I send to it then instead of that sqsum?
Thanks alot! Eyal