Debayer 16 bit with the MHC algo using CUDA
Hi,
With OpenCV 3.1.0 I'm trying to use the cv::cuda::demosaicing function:
cv::cuda::demosaicing(bayered, debayered, cv::cuda::COLOR_BayerGB2BGR_MHT);
The documentation states that:
src Source image (8-bit or 16-bit single channel).
However, at runtime with a 16-bit image I get the errror:
OpenCV Error: Assertion failed (depth == CV_8U) in cv::cuda::demosaicing, file C:\opencv\opencv310\sources\modules\cudaimgproc\src\color.cpp, line 2132
Question: is this a bug or a fault in the documentation?