Hello to all.I am trying to implement a cv::dct on c++ language inside visual studio 2012. My code is :
cv::dct(y_values,dct1); where y_values is an std::vector containing the Y values of an image (Y Cb Cr) , and dct1 is the std::vector for the output. Both are the same size (2-D) and their sizes are even numbers.
The error is: OpenCv error: Assertion failed (0 <= i && i < (int)(vv.size()) in cv::InputArray:getMat.
Thanks for your time