Commit 0a73af8e authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

added cvtColor on gpu (supports conversion between RGB, BGR and GRAY)

parent 62b47108
set(name "gpu") set(name "gpu")
set(DEPS "opencv_core") set(DEPS "opencv_core" "opencv_imgproc")
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} opencv_gpu) set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} opencv_gpu)
......
...@@ -365,6 +365,9 @@ namespace cv ...@@ -365,6 +365,9 @@ namespace cv
// Acync version // Acync version
CV_EXPORTS void reprojectImageTo3D_GPU(const GpuMat& disp, GpuMat& xyzw, const Mat& Q, const Stream& stream); CV_EXPORTS void reprojectImageTo3D_GPU(const GpuMat& disp, GpuMat& xyzw, const Mat& Q, const Stream& stream);
CV_EXPORTS void cvtColor_GPU(const GpuMat& src, GpuMat& dst, int code, int dcn = 0);
CV_EXPORTS void cvtColor_GPU(const GpuMat& src, GpuMat& dst, int code, int dcn, const Stream& stream);
//////////////////////////////// StereoBM_GPU //////////////////////////////// //////////////////////////////// StereoBM_GPU ////////////////////////////////
class CV_EXPORTS StereoBM_GPU class CV_EXPORTS StereoBM_GPU
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
#include <vector> #include <vector>
#include "opencv2/gpu/gpu.hpp" #include "opencv2/gpu/gpu.hpp"
#include "opencv2/imgproc/types_c.h"
#if defined(HAVE_CUDA) #if defined(HAVE_CUDA)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment