bug fixed in opencv, function parameters problem