English 中文(简体)
开放CV:3DPU矩阵
原标题:OpenCV: 3D Matrix on GPU

I was wondering if it is possible to upload a 3-dimensional matrix to the gpu to work with it? I have a sequence of images all having the same resolution (around 100 frames); now I want to upload them to the gpu using OpenCV s .upload function and do a few computations on them.

简单的做法只是为每个框架建立一个GPuMat,并按顺序上载,但我很想知道,是否有更明智的方法。

最佳回答

Depending upon how your algorithm works, you might be able to simply concatenate the images in one of the existing image dimensions instead of trying to create a "3D" image. For instance, if you had two frames of 640x480 images, make a single 640x960 image as your image to be sent to the GPU.

问题回答

暂无回答




相关问题
Calculating corresponding pixels

I have a computer vision set up with two cameras. One of this cameras is a time of flight camera. It gives me the depth of the scene at every pixel. The other camera is standard camera giving me a ...

Image comparison algorithm

I m trying to compare images to each other to find out whether they are different. First I tried to make a Pearson correleation of the RGB values, which works also quite good unless the pictures are a ...

How to recognize rectangles in this image?

I have a image with horizontal and vertical lines. In fact, this image is the BBC website converted to horizontal and vertical lines. My problem is that I want to be able to find all the rectangles in ...

Resources for Image Recognition

I am looking for a recommendation for an introduction to image processing algorithms (face and shape recognition, etc.) and wondered if anyone had an good recommendations, either for books, ...

How to programmatically disable the auto-focus of a webcam?

I am trying to do computer vision using a webcam (the model is Hercules Dualpix). I know it is not the ideal camera to use, but I have no choice here. The problem is the auto-focus makes it hard/...

Computing object statistics from the second central moments

I m currently working on writing a version of the MATLAB RegionProps function for GNU Octave. I have most of it implemented, but I m still struggling with the implementation of a few parts. I had ...

Viola-Jones face detection claims 180k features

I ve been implementing an adaptation of Viola-Jones face detection algorithm. The technique relies upon placing a subframe of 24x24 pixels within an image, and subsequently placing rectangular ...

Face detection and comparison

I m running a small research on face detection and comparison for my article. Currently, I m using rapid face detection based on haar like features based on OpenCV cascade (I ll implement learning ...

热门标签