This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| img = cv2.imread('lena.jpg', cv2.IMREAD_COLOR) | |
| d_img = cv2.cuda_GpuMat() | |
| d_img.upload(img) | |
| d_gray = cv2.cuda.cvtColor(d_img, cv2.COLOR_BGR2GRAY) | |
| gray = d_gray.download() | |
| cv2.imshow('img', img) | |
| cv2.imshow('gray', gray) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <pcl/point_cloud.h> | |
| #include <pcl/point_types.h> | |
| #include <iostream> | |
| int main(int argc, const char* argv[]) | |
| { | |
| pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>); | |
| return 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <opencv2/core.hpp> | |
| #include <opencv2/core/cuda.hpp> | |
| #include <cuda_runtime.h> | |
| #include <device_launch_parameters.h> | |
| #include <iostream> | |
| int main(int argc, const char * argv[]) | |
| { | |
| cudaFree(0); // dummy call |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <opencv2/core.hpp> | |
| #include <opencv2/imgcodecs.hpp> | |
| #include <opencv2/highgui.hpp> | |
| #include <iostream> | |
| #include <vector> | |
| int main(int argc, char *argv[]) | |
| { | |
| cv::Mat src = cv::imread("lena.jpg", cv::IMREAD_UNCHANGED); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <opencv2/core/cuda.hpp> | |
| int main(int argc, char *argv[]) | |
| { | |
| cv::cuda::GpuMat img1(cv::Size(320, 240), CV_32FC1, cv::Scalar(0.0f)); // NG(cuda-memcheck) | |
| //cv::cuda::GpuMat img2(cv::Size(320, 240), CV_32FC1); // OK(cuda-memcheck) | |
| return 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| General configuration for OpenCV 3.1.0-dev ===================================== | |
| Version control: unknown | |
| Extra modules: | |
| Location (extra): C:/Users/bishnois.VITECNET/Downloads/opencv_contrib-master/modules | |
| Version control (extra): unknown | |
| Platform: | |
| Timestamp: 2016-02-16T18:22:12Z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| General configuration for OpenCV 3.1.0 ===================================== | |
| Version control: 3.1.0 | |
| Platform: | |
| Host: Windows 6.1 AMD64 | |
| CMake: 3.3.1 | |
| CMake generator: Visual Studio 14 2015 Win64 | |
| CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe | |
| MSVC: 1900 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| General configuration for OpenCV 3.1.0-dev ===================================== | |
| Version control: 3.1.0-110316-105-g4fd00c1 | |
| Platform: | |
| Timestamp: 2016-11-24T18:39:34Z | |
| Host: Windows 10.0.14393 AMD64 | |
| CMake: 3.7.0-rc2 | |
| CMake generator: Visual Studio 14 2015 Win64 | |
| CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| General configuration for OpenCV 3.1.0 ===================================== | |
| Version control: 3.1.0 | |
| Platform: | |
| Host: Windows 10.0.14393 AMD64 | |
| CMake: 3.6.0 | |
| CMake generator: Visual Studio 14 2015 Win64 | |
| CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe | |
| MSVC: 1900 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| General configuration for OpenCV 3.1.0 ===================================== | |
| Version control: 3.1.0 | |
| Platform: | |
| Host: Windows 6.1 AMD64 | |
| CMake: 3.3.1 | |
| CMake generator: Visual Studio 14 2015 Win64 | |
| CMake build tool: C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe | |
| MSVC: 1900 |