3D Reconstruction with 1 camera
Playing with stereo 3D reconstruction using one camera and rotating the object, but I can't seem to get proper Z mapping. I follow the typical process: **calibrate** the camera with the...
View Articlehow to trance to gray in cv2.imread(img,0) ?
I using the opencv3. I tried A = cv2.imread(str,0). img = cv2.imread(str,1). B = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY). now A is not equal B. I think, there are difference method. I found B 's method in...
View ArticleOpenCV 3.1.0 & OpenCL version?
Q1. Which version of OpenCL is supported by OpenCV 3.1.0? *My guess is OpenCL 1.2 based on the `set(OPENCL_INCLUDE_DIR "${OpenCV_SOURCE_DIR}/3rdparty/include/opencl/1.2")` statement in the file...
View ArticleCrack in Pipe
Hi, I have a pipe in assembly line. The pipe gets compressed and comes out with square and rectangle ends. If the pipe is uneven, the pipe shears and crack is seen. How do i detect a crack in the pipe?...
View ArticleStitching 2 image with findHomography
Hi, i have troubles to stitching two image using findHomography and warpPerspective, my code is the next one: Mat H = findHomography(obj, scene, CV_RANSAC); Mat warpImage2; warpPerspective(im2,...
View ArticleHow to change the values of HSV channels of a pixel using OpenCV4Android?
The first of the following two images, `rgbaMat.bmp`, is a `5px*5px` `.bmp` image in `RGBA` format. This image was read from sdcard using `Highgui.imread` and then converted to `HSV` using...
View ArticleFind all peaks for Mat() in OpenCV C++
I want to find all peaks for my image. I need it to divide my picture such way: ![enter image description here][1] So, i already asked [question][2], how to project all image to one of the axis, and...
View ArticleHow evaluate the performance of OpenCV
Dear OpenCV-community, Like the topic of my question might suggest, i am interested in the evaluation of the performance of the open source library OpenCV. I am new at the developer front, and i am...
View ArticleHow to find my Camera Index?
I have interfaced my Raspberry pi running Rasbian with two cameras. The cvCaptureFromCAM( int index ) function has the parameter index which is the camera index. What value should I give in here? or...
View ArticleIs there an IDE + pluggin in unix/linux based system which is a good...
ImageWatch(https://visualstudiogallery.msdn.microsoft.com/e682d542-7ef3-402c-b857-bbfba714f78d) is quite useful to visualize in memory matrices/images while debugging.
View Articlemethod for bi-color feature detection and matching
what is the best method used for find homography of two bicolor images. (black-white, instead of grayscale). i'm using openCV3 and c++. thanks in advance
View Articleimwrite in opencv gives a black image
I wrote a code for watershed segmentation in C API. Now I am converting all those into C++. so, cvsaveimage becomes imwrite. But when I use imwrite ,all i get is a black image. this is the code:- Mat...
View ArticleMotion estimation between 2 frames
Hi everyone: I want to try a Motion Estimation & Compensation between 2 frames. For that, I need to extract 2 consecutive frames, and then evaluate them. My result have to be the image of the...
View ArticleOpenCV installation into eclipse
General Note: I'm using Ubuntu 14.04.3 I am following the standard tutorial for installing OpenCV with eclipse cdt :...
View Articleopencv on ununtu error on pointing Cmake variable opencv_DIR to build of opencv
When I cmake my project it shows this: Found OpenCV Windows Pack but it has no binaries compatible with your configuration. You should manually point CMake variable OpenCV_DIR to your build of OpenCV...
View Articleproblem installing opencv on windows with python
im using win 7, python 2.7, numpy 1.8, and open cv 3.0 im very new to programming, and all i managed to do is by following tutorials i got from python IDEL this message: " ImportError:...
View Articlemotion COMPENSATION between 2 frames?
Hello, my question is simple. I want to know how I could get a frame as the result of compensation between 2 images. I understand functions as goodFeaturesToTrack() and cvCalcOpticalFlowPyrLK(), but...
View ArticlePython opencv-Writing numpy object data to image file
in opencv we can read in an image using `cv2.imread()` or `np.fromstring(f.read(), np.uint8)` followed by `img = cv2.imdecode(nparr, 0)`, for my use case I am bound to use : with open("sample.png",...
View ArticleCan openCV help get the measurement of people through the camera of a phone.
I want to build an app that will get the measurement of people that is height, weight, arm length, and waist size. A friend of mine said i can use Open Cv to achieve.
View ArticleSVM training under OpenCV 3.1 weird classification labels
So I got training data with double features and accompanied integer labels. Since I want binary classification I give one class 1 labels and other class -1 labels. Training data is a matrix with amount...
View Article