/external/opencv3/modules/imgproc/src/ |
demosaicing.cpp | 54 //////////////////////////// Bayer Pattern -> RGB conversion ///////////////////////////// 90 int bayer2Gray(const uchar* bayer, int bayer_step, uchar* dst, 99 const uchar* bayer_end = bayer + width; 101 for( ; bayer <= bayer_end - 18; bayer += 14, dst += 14 ) 103 __m128i r0 = _mm_loadu_si128((const __m128i*)bayer); 104 __m128i r1 = _mm_loadu_si128((const __m128i*)(bayer+bayer_step)); 105 __m128i r2 = _mm_loadu_si128((const __m128i*)(bayer+bayer_step*2)); 133 return (int)(bayer - (bayer_end - width)); 136 int bayer2RGB(const uchar* bayer, int bayer_step, uchar* dst, int width, int blue) cons 543 const T* bayer = bayer0; local 696 const T* bayer = bayer0; local 915 const uchar* bayer = srcmat.ptr(); local [all...] |
/external/opencv/cv/src/ |
cvcolor.cpp | 48 Original code for Bayer->BGR/RGB conversion is provided by Dirk Schaefer [all...] |
/external/opencv3/modules/cudaimgproc/src/cuda/ |
debayer.cu | 209 Bayer2BGR<uchar> bayer; 210 bayer.apply(src, s_x, s_y, blue_last, start_with_green); 215 dst(d_y, d_x) = toDst<D>(bayer.res0); 217 dst(d_y, d_x + 1) = toDst<D>(bayer.res1); 219 dst(d_y, d_x + 2) = toDst<D>(bayer.res2); 221 dst(d_y, d_x + 3) = toDst<D>(bayer.res3); 331 Bayer2BGR<ushort> bayer; 332 bayer.apply(src, s_x, s_y, blue_last, start_with_green); 337 dst(d_y, d_x) = toDst<D>(bayer.res0); 339 dst(d_y, d_x + 1) = toDst<D>(bayer.res1) [all...] |
/external/opencv3/modules/imgproc/test/ |
test_color.cpp | 1807 Mat src, dst, bayer, reference; local 2094 Mat src, bayer; local [all...] |
/external/opencv3/modules/videoio/src/ |
cap_dc1394_v2.cpp | 236 dc1394bayer_method_t bayer; member in class:CvCaptureCAM_DC1394_v2_CPP 286 bayer = DC1394_BAYER_METHOD_BILINEAR; 597 dc1394_debayer_frames(&f, frameC, bayer); [all...] |