opencv

Convolution Doesn't Seem to be correct?

Dear All, The convolution method below doesn't seem to be correct. Notice any error here? bool convolve2D(double* in, double* out, int dataSizeX, int dataSizeY, double* kernel, int kernelSizeX, int kernelSizeY) { int i, j, m, n; double *inPtr, *inPtr2, *outPtr, *kPtr; int kCenterX, kCenterY; int rowMin, rowMax; ...

OpenCV C++ Video Capture does not seem to work

Hi, I am using a Mac OS X 10.6 machine. I have OpenCV 2.1 x64 compiled from source using Xcode and its GCC compiler. I am having trouble using the C++ video reading features of OpenCV. Here is the simple test code I am using (came straight from OpenCV documentation): #include "cv.h" #include "highgui.h" using namespace cv; int main(...

How to implement thumb and fore finger interface

Hi all, I am developing a simple multi touch table using only a projector and a web cam. I found out that i could use this Thumb and fore finger interface technique. but i don't have any clue of how to implement it. i think it can be implemented with OpenCV or OpenFrameworks and use with CCV. can anybody help me ? Thanks, ...

Opencv Emgu c# face extraction

So far I have managed to make my programme to work and detect face and now what i want to do is that extract the area detected and display in new picture box that i have added also after this is done i want to add pics to database and compare detected faces with them. So please help private void ProcessFrame(object sender, EventArgs ar...

dendrogram in C compatible with opencv

Hi Is there an implementation of dendrogram in C that can be used with an openCV matrix? If not, is there other implementation of a dendrogram that I can create a distance matrix to? Maybe openCV have anther algorithm that I can use? I've found an scipy-cluster in python which works with numpy. It says that the core is written in C so ...

EigenObjectRecognizer Usage Help

I have made program that detects the face now what i have to do is Recognize them By googling up i came to know that it is done by EigenObjectRecognizer any one hae used it or can tell me how can i use it? ...

Matlab vs Aforge vs OpenCV

Hello , I am about to start a project in visual image-processing and have no had experience with Matlab, Aforge, OpenCV and was wondering if anyone had any experiences with these different software packages. I was also wondering which of the three packages were most efficient I assume OpenCV but has anyone had any experience? Thanks ...

How to track finger position with OpenCV

Hi all, I have a problem with image processing. I have set up a web cam on top of my laptop facing the keyboard so when i touch the LCD the image which get from the web cam bisects by the finger so my idea is to get the positions of the finger when it bisects the image. any help is appreciated (OpenCV, openframework or any other relevant...

cartoonizing real images

does anybody know we can translate from real image captured using cameras be converted to the cartoon space ? Please note that my goal is not to create animations or the likes, but just to translate to "cartoon colors" if possible. will simple requantization to a space where there is less quantization levels work Or some other specifi...

Find rectangles without corners using opencv

I have an image where I want to find contours but the "contours" in my image don't have corners. Are there some tricks I can use to help find the rectangles that are implied by the lines in this image? I thought about extending all the lines to form the corners but I worry about lines intersecting from other contours and how to determi...

GpuCV VS2010 Simple Program

Hello, I have been looking into OpenCV and GpuCV, I have successfully managed to make a small program using OpenCV following http://opencv.willowgarage.com/wiki/VisualC%2B%2B_VS2010 and was wondering what I need to add in Include Directories Library Directories Source Directories Additional Dependencies to get a simple GpuCV to work? ...

Problems with CamShift on the OpenCV C++ interface

Hello, everyone. I'm somewhat new to OpenCV and for some reason, I'm not managing to get CamShift to work in C++. First of all, if anyone has a working CamShift example using the C++ interface I would really appreciate it. Second, I'm trying to adapt the C example to C++, just to get it to work. Nothing fancy, yet. Basically, what I'm ...

Eye tracking: finding the pupil (x,y)

Hello, I am looking for some suggestions on how to approach the following computer vision problem. Below are 4 samples of an eye tracking dataset that I am working with. I would like to write code takes one such image and calculates the (x,y) position of the center of the pupil. I am currently using MATLAB, but I am open to using other ...

OpenCV show both incoming video and modified video in separate windows

Hi. This should be easy. I have a video stream coming in from my webcam. I'm just playing with image transformation etc. I'd like to be able to view the original images (video input) in one window and the transformed video in another. Problem is, as soon as I start capturing video instead of just single images, the original video wi...

Updating global variables from a single worker thread: Do I need mutexes?

It seems that this question gets asked frequently, but I am not coming to any definitive conclusion. I need a little help on determining whether or not I should (or must!) implement locking code when accessing/modifying global variables when I have: global variables defined at file scope a single "worker" thread reading/writing to glob...

Multi camera calibration with CCV(tBeta)

Hi, For my project i want to calibrate two cameras with CCV. in CCV, as i have seen, the camera is placed under a surface and blobs are detected from the surface. but in my project i want to detect blobs from over the surface one camera is placed on top of the surface(wall) facing the floor so it can detect the X coordinate other camera ...

detecting rectangle and the 4 corner coordinates from an image in opencv

hello i was going through the the program "square.c" in the sample of opencv which is working fyn in detecting rectangles in a given image and generates outline.. the array pt[] store the boundry points of rectangle....but what i need is only the 4 corner points of the rectangle...... need help thanks ...

OpenCV CalcOpticalFlowLK

Could any boddy give me an example of how to use OpenCV's CalcOpticalFlowLK function. I found this example but my version of OpenCv does not support cvCalcOpticalFlowFarneback. void drawOptFlowMap(const CvMat* flow, CvMat* cflowmap, int step, double scale, CvScalar color) { int x, y; for( y = 0; y < cflowma...

Laser light detection with OpenCV and C++

Hi all, I want to track a laser light dot(which is on a wall) with a webcam and i am using openCV to do this task. can anybody suggest me a way to do it with C++. Thank you ! ...

OpenCV Visual Studio 2010 - RC6034 Error (DLL Hell?)

[ Add HTTP:// to the beginning of picture links to make them work for you. ] [ All Steps here were done with both Release and Debug versions. The pictures shown only display debug-related information. ] OpenCV 2.1.0 does not work properly with Visual Studio 2010 on my computer when it begins to load _Video files with the opencv_ffmpeg D...