opencv

OpenCV and Xcode

I am looking at pattern recognition in images and video and have thought that C++ is the way to go (for high performance/real-time applications). I want to use the OpenCV libraries in Xcode when I build a C++ application (command-line tool) I am running Xcode 3.2 and have just followed the steps at http://opencv.willowgarage.com/wiki/Ma...

openCV support for vista 64x

hello .. im trying to install openCV over windows vista 64x but it's shows a fatal error.. i tried everything i can but its useless does openCV work on vista 64 ??? how do i get rid of this problem??? please help thanx in advance ...

OpenCV C++ error in Xcode

I have built the OpenCV libraries using the cmake build system as described here and have added the header, '.a' and '.dylib' files to my terminal c++ project. However when I run the code below (got it from http://iphone-cocoa-objectivec.blogspot.com/2009/01/using-opencv-for-mac-os-in-xcode.html), it gives me the errors below. Has anyone...

Accesing a matrix element in the "Mat" object (not the CvMat object) in OpenCV C++

Does anyone have any idea how to access elements by row, col in OpenCV 2.0's new "Mat" class? The documentation is linked below, but I have not been able to make any sense of it. http://opencv.willowgarage.com/documentation/cpp/basic%5Fstructures.html#mat ...

Why won't OpenCV compile in NVCC?

Hi there I am trying to integrate CUDA and openCV in a project. Problem is openCV won't compile when NVCC is used, while a normal c++ project compiles just fine. This seems odd to me, as I thought NVCC passed all host code to the c/c++ compiler, in this case the visual studio compiler. The errors I get are? c:\opencv2.0\include\open...

Histogram Equalization image processing by c++ opencv

i need to make Histogram Equalization on image i made a Histogram and i calculate count of each pixel but i don't know how to make Histogram Equalization can any one help i'm using opencv thnx ...

OpenCV and include files

Hi - has anyone installed OpenCV 2.0 on windows? Does the installation create directories such as "...\opencv\cxcore\include"? How do you link the libraries in Visual C++ 2008 (Express) and also the include files? In short how do you use OpenCV2.0 with VC++ 2008? Any help greatly appreciated. Max. ...

Eigenvector computation using OpenCV

Hi I have this matrix A, representing similarities of pixel intensities of an image. For example: Consider a 10 x 10 image. Matrix A in this case would be of dimension 100 x 100, and element A(i,j) would have a value in the range 0 to 1, representing the similarity of pixel i to j in terms of intensity. I am using OpenCV for image proc...

How to extract velocity vectors from dense optical flow?

Problem: I'm trying to align two frames of a moving video. I'm currently trying to use the function "cvCalcOpticalFlowLK" and the result outputs velocity vectors of x and y in the form of a "CvArr". So I obtained the result, but i'm not sure how to use these vector arrays. My question is this... how do i know what is the velocity of ...

OpenCV data types

depth Pixel depth in bits. The supported depths are: IPL_DEPTH_8U Unsigned 8-bit integer IPL_DEPTH_8S Signed 8-bit integer IPL_DEPTH_16U Unsigned 16-bit integer IPL_DEPTH_16S Signed 16-bit integer IPL_DEPTH_32S Signed 32-bit integer IPL_DEPTH_32F Single-precision floating point IPL_DEPTH_64F Double-precision floating point What these v...

Detecting a Card in a Scene with OpenCV

Can someone direct me to some information about how to do the following: I have a database of about 10,000 trading cards. Given an image from a iPhone/Android/WebCam, I'd like to find the closest matching trading card. I looked up some basic Haar based image recognition, but that requires training with many images with generally the sam...

OpenCV cvNamedWindow not appearing under Fedora

Hello, As the title suggests I'm simply trying to get a named window to come up. I've been working with OpenCV for over a year now, and never had this problem before. For some reason, the window never opens. I've tried running some of my old scripts and everything works fine. As a very cut down example, see below #include "cv.h" #incl...

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 colour image of the scene. We would like to use the depth information to remove some areas from the colour image. We plan on object, person ...

OpenCV with QT on Maemo 5 (N900)

Since the presentation by Eero Bragge at theAmterdam devdays about QT / QT-Creator I've been looking for an excuse to try my hands at mobile development. Now this excuse has arrived in the form of the Nokia N900, my new phone! My other hobby is computer vision, so my first Idea's for applications to try and build lie in that direction. ...

Running in the Terminal a build made in XCode, how?

Hi, Im creating a project in Xcode using OpenCV as a framework. It works great with the Build&Run option from Xcode, but now I need to run it in the Terminal and it gives me this error: dyld: Library not loaded: @executable_path/../Frameworks/OpenCV.framework/Versions/A/OpenCV Referenced from: /Users/Victor/Documents/PFC/src/opencv/blo...

How to simulate fisheye lens effect by openCV?

I am looking for ways to create fisheye lens effect, looked at documentations for openCV, it looks like it contains Camera Calibration functions for radial distortions like fisheye. Is it possible to simulate fisheye distortion by openCV? If it is possible to do it by openCV, comparing to openGL, which one will generate better results?...

Angle detection

May I get an angle from opencv function cvHoughLines2(). If not then how I can get this? ...

Image Classification - Detecting Floor Plans

I am working on a real estate website and i would like to write a program that can figure out(classify) if an image is a floor plan or a company logo. Since i am writing in php i will prefer a php solution but any c++ or opencv solution will be fine as well. Floor Plan Sample: Logo Sample: ...

openCv cvReprojectImageTo3D problem

I build a program to tracking human by using stereovison via openCv. I success to build the 3d coordinate, when I display this image by openCv (take the x,y,z coords as R,G,B value), I see an image just like disparity iamge, but the top left is red, top right is pink, bottom left is yellow and bottom right is white. The object appear not...

Audio track in video file - C++

My application is transforming an AVI video file into another AVI file. I use the OpenCV library. Unfortunately videos created with OpenCV have no sound as the library does not support audio. Is there any easy way to copy the audio track from one video file to another? Maybe FFmpeg? My application is written in Visual C++. ...