warpPerspective using panorama
Have multiple photos to create a panoramic picture gohanda. Source reference to the site below were implemented. http://ramsrigoutham.com/2012/11/22/panorama-image-stitching-in-opencv/ The left image...
View ArticleSuggested tools for Mac contribution
Hi All, I'm just getting started; hoping to make some contribution to this project. I'm working on a Mac, and have a local repo of OpenCV - is there a suggested toolchain to streamline testing builds...
View Articletranslate some python codes into c++
contours, hierarchy = cv2.findContours(roiImg,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE) for i in contours: area = cv2.contourArea(i) moments = cv2.moments (i) if area>1500: if moments['m00']!=0.0: if...
View ArticleHow to track white color on black background
I have a code that doesn't works to white and black color. On the code I select the ROI, and after that this code is supposed to keep tracking the ball, but it doesn't happen I have this video :...
View ArticleOpenCV 3.0 - T-API (transparant OpenCL acceleration) CPU-thread-safe ??
In OpenCV 3.0 (http://opencv.org/opencv-3-0.html), there is the so-called T-API introducted, where functions are accelerated, transparently for the user, on the GPU with OpenCL. I just wonder whether...
View Articlelink opencv with cmusphnix and work in visual studio 2013
I have downloaded OpenCV and cmuphnix (both pocketsphnix and sphnixbase). I have build all the projects of cmusphnix in visual studios with no errors. I just want to know how to link the libraries of...
View ArticleUsing strided external array as cv::Mat
I have an array in memory that represents a matrix. However, I have a stride value for both rows and individual elements. That is, the step from one element in a row to the next is *NOT* the size...
View Articlewhy the source face detection not work in open cv 3 and VS 2012
Hello dear friend i configure OpenCv 3 in vs2012 and int it the source work correctly.a show image source  its work corrcotly,but when i test face...
View ArticleHow to speed up seamlessClone? (incredibly slow)
Hi, I am using seamlessClone to integrate a logo into a video and it is incredibly slow. Actually creating a video with 1000 frames with a resolution of 1280 x 800 takes 30 seconds. While using...
View ArticleHow to use Floating Point Support in opencv
Hi all i'm using raspberry pi 2 with raspbian , i'm working on face and eyes detection using opencv and c++ , i want to improve the performance and reduce time detection in the program and i was...
View ArticleElementwise Trig Operations with a cv::UMat?
I need to take the element wise `sin` and `cos` of some 2d data. Something like: cv::UMat image,image_sin; cv::sin(image,image_sin); Normally, I would just grab the underlying pointer and iterate over...
View ArticleUnits of Rotation and translation from Essential Matrix
I obtained my Rotation and translation matrices using the SVD of E. I used the following code to do so : SVD svd(E); Matx33d W(0, -1, 0, 1, 0, 0, 0, 0, 1); Mat_ R = svd.u * Mat(W) * svd.vt; Mat_ t =...
View ArticleWhich new algorithms would you like to see implemented in OpenCV?
Hi all, Which new algorithms would you like to see implemented in OpenCV? I wanted to practice coding new computer-vision algorithms and contributing to an open-source project, and would appreciate...
View ArticleDisparity image looks like the left image
The disparity image I am getting looks like it contains objects which only appear in the left camera image. The objects are relatively close up to the cameras, <30cm. I previously thought the...
View ArticleC# SEH Exception cvGetSize
We are encountering SEH exceptions when calling cvGetSize for a CvMat. Here is small example: using System; using System.Runtime.InteropServices; namespace ConsoleApplication1 { internal struct _CvMat...
View Article"Meanshift"
Hello forum, I have 2 images. Mat frame ( 1920 x 1080 ) Mat small_image ( 20 x 20 ) I would like to find the center of the pixels of small_image, like meanshift. However, I would not like to use...
View ArticleRotate Landmarks
Hello. I have various files with 2D coordinates describing faces of people. In OpenCV I'm using the circle function to draw each of these coordinates in a black background (Mat::zeros), so: ![image...
View ArticlePCA with big matrices
I have around 2 * 10^7 vectors with size 128 and i want to use pca but it seems like in that case some int overflow happens. Can it be the case and is there tool to do with such big matrices?
View ArticleUS reexport regulation
Hi, could someone give me the information if the OpenCV component falls under the US reexport regulation and could not be send to countries of list k?
View ArticleWhy the BorderType option is absent in OpenCV MedianBlur?
I am working with OpenCV and I came to the question, why for example GaussianBlur have option for BorderType, but MedianBlur don't have? I have researched about separable filters, maybe it's connected...
View Article