opencv

Is Learning OpenCV (the book) relevant after OpenCV 2

Hi I'm starting out studying some computer vision (on what I believe would be called "grad school level" in the US) and wish to learn OpenCV. The book "Learning OpenCV" seems like a good place to start, but as far as I can see after playing around, it seems that OpenCV has undergone some quite major changes in version 2.0+. Is the book...

Using OpenCV in QTCreator (linking problem)

Greetings! I have a problem with the linking simpliest test program in QTCreator: CODE: #include <QtCore/QCoreApplication> #include <cv.h> #include<highgui.h> #include <cxcore.hpp> using namespace cv; int _tmain(int argc, _TCHAR* argv[]) { cv::Mat M(7,7,CV_32FC2,Scalar(1,3)); return 0; } .pro file: QT -= gui TARGET =...

How to configure opencv for work with qtcreatore?

How to configure opencv for work with qtcreatore? So I have QT installed now I wanna know how to configure openCV to work in it. ...

Standardizing camera input in OpenCV? (Contrast/Saturation/Brightness etc..)

I am building an application using OpenCV that uses the webcam and runs some vision algorithms. I would like to make this application available on the internet after I am done, but I am concerned about the vast differences in camera settings on every computer, and I am worried that the algorithm may break if the settings are too differen...

O'Reilly book clarification on 2d linear system

The Oreilly book "Learning openCV" states at page 356 : Quote Before we get totally lost, let’s consider a particular realistic situation of taking measurements on a car driving in a parking lot. We might imagine that the state of the car could be summarized by two position variables, x and y, and two velocities, vx and vy. These four...

Draw fitted line (OpenCV)

I'm using OpenCV to fit a line from a set of points using cvFitLine() cvFitLine() returns a normalized vector that is co-linear to the line and a point on the line. See details here Using this information how can I get the equation of a line so that I can draw the line? ...

Storing images and pointers in OpenCV

I have a loop which goes through a video with some processing/calculations of the images. I want to save the image in the loop with the highest value from the processing, but I'm struggling a bit with storing the image temporally while the loop finishes. The images/frames are initialized like this IplImage* frame = 0; IplImage* maxfram...

Stack around variable corrupted when using cvBlobsLib (OpenCV)

I am trying to do simple image processing with OpenCV and the cvBlobsLib in Visual C++ 2008, and I get an error message when I try to create a CBlobResult object IplImage* original = cvLoadImage("pic6.png",0); cvThreshold(original, original, 100, 255, CV_THRESH_BINARY); CBlobResult blobs = CBlobResult(original, NULL, 255); The message...

Eye Detection Problem In Opencv

Hi, I'm trying to convert this c code(http://nashruddin.com/OpenCV_Eye_Detection) to the python code, but in c style, he used cvROI thing, since ROI functions are not supported by python-opencv, I tried cvGetSubRect so Here is the eye detection part of the code : eye_region = cvGetSubRect(image,cvRect(face.x,int(face.y + (face.height...

How do people handle warning C4793: 'some_function' : function compiled as native?

I'm using the OpenCV library and one of its header files, cxoperations.hpp, generates "warning C4793: '`anonymous namespace'::CV_XADD' : function compiled as native", if my C++ project is compiled with CLR support. I can prevent the warning by surrounding the OpenCV header include like this: #pragma managed(push,off) #include <cv.h> #pr...

Canny edge detection - grayscale images always coming up as 3-channel, unusable?

I am working through the book "Learning OpenCV" from the O'Reilly series and am trying to perform a canny edge detection sample. Any grayscale image I choose seems to come up as having 3 channels, and to the best of my knowledge, canny only works with single channel images, so this always fails. I am even using the images provided by...

[Android NDK] Using OpenCV Android porting

Hi everyone!!! I want to use the OpenCV Android porting, that you can find HERE, to make some image transformations for an Augmented Reality application. I've found no problem configuring and building the library, I receive no error and I succed put it within my Android application throght JNI process: the library libopencv.so is in the ...

How do I convert a an IplImage in OpenCV to an image of depth type IPL_DEPTH_32F ?

The title says it all, I guess. ...

OpenCV (c++) multi channel element access

I'm trying to use the "new" 2.0 c++ version of OpenCV, but everything is else like in simple C version. I have some problem with changing the values in image. The image is CV_8UC3. for (int i=0; i<image.rows; i++) { for (int j=0; j<image.cols; j++) { if (someArray[i][j] == 0) { image.at<Vec3i>(i,j)[0...

OpenCV and iPhone

Hello, I am writing an application to create a movie file from a bunch of images on an iPhone. I am using OpenCv. I downloaded OpenCv static libraries for ARM(iPhone's native instruction architecture) and the libraries were generated just fine. There were no problems linking to them libraries. As a first step, I was trying to create a ...

Emgu CV - memory-leaks (memory consumption)

I am using EmguCV, the OpenCV wrapper for .NET. I am disposing all created objects but my app is still using more and more memory (in release configuration too). I have debugged my app using .NET Memory profiler and get this result: http://img532.imageshack.us/img532/2503/screenqv.png all objects instance count is oscilating but GChand...

OpenCV/EmguCV face recognition

I am trying to make an app that detect faces and recognizes it. I made Face detection but I want some idea to when making recognition. I'm using a web cam for tracking and it can detect the face.Then I am taking only the part of the face to a new gray image and comparing it using EigenObjectRecognizer with list of images in database. But...

Having problems building OpenCV 2.0 on CentOS 5?

Hi all! I'd been trying to install OpenCV library to my centos system however when i type make and hit enter after configuring with cmake, i get the following error: [100%] Building CXX object tests/cv/CMakeFiles/cvtest.dir/src/amoments.o [100%] Building CXX object tests/cv/CMakeFiles/cvtest.dir/src/affine3d_estimator.o [100%] Building...

window opencv AXIS 213 IP streaming video capture

i am working on window os but not able to use cvCreateFileCapture to capture streaming video. It returns NULL.Is it possible to make it work? Or is there other solutions? ...

How to setup OpenCV 2.0 with Microsoft VC++ 2010 express

Could someone please provide a step by step tutorial on how to setup openCV 2 with VC++2010 express? Im having major trouble doing the same.. ...