Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Debayer 16 bit with the MHC algo using CUDA

$
0
0
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?

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>