computer-vision

Libraries to get depth map from stereo images?

I'm going to set up some devices to perform real-time 3D motion tracking. My first idea to do so is to use a pair of cameras to take stereo image and calculate the depth map to get the 3D data I needed. Are there any good open source libraries (C/C++) available and is fast enough for real-time(~12-24fps)? I've found 3D Reconstruction us...

Hough Transform question

Hi I implemented Hough Transform in C# this way: List<Point> forme = new List<Point>(); forme.Add(new Point(260, 307)); forme.Add(new Point(268, 302)); forme.Add(new Point(273, 299)); forme.Add(new Point(279, 295)); forme.Add(new Point(285, 292)); forme.Add(new Point(291, 288));...

OCR - most "different" or "recognizable" ASCII characters?

I am looking for a way to determine the most "different" or "recognizable" N ASCII characters... For example, if N = 10, what would be the most different N characters in the ASCII set from 0x21 to 0x7E? Obviously, the character "X" is very different than "O" (the letter), but "O" (the letter) is very similar to "0" (zero). Assuming a ...

Simple object recognition

===SOLVED=== Thanks for your suggestions and comments. By working on the flood_fill algorithm given in Beginning Python Visualization book (Chapter 9 - Image Processing) I have implemented what I have wanted. I can count the objects, get enclosing rectangles for each object (therefore height and widths), and lastly can construct NumPy a...

Pruning short line segments from edge detector output?

I am looking for an algorithm to prune short line segments from the output of an edge detector. As can be seen in the image (and link) below, there are several small edges detected that aren't "long" lines. Ideally I'd like just the 4 sides of the quadrangle to show up after processing, but if there are a couple of stray lines, it won'...

Any good examples of projects doing vision and image analysis ?

I have a need to take an image of a series of glass test tubes, and automatically give an indication of either the level fo liquid in the tubes or the point at which the liquid reaches the bottom of the tubes. The image would probably be gathered by a webcam and processed on a standard PC. I have no restrictions on language or method, ...

Biofeedback and red eyes

Recently, I've realized that I have stopped blinking while working at a computer. Are there any programs available to assist with blinking? Is it feasible to build a program with OpenCV (or similar software) with a camera to detect blinking (and the absence of) and maintain a decent blink rate? ...

Are there any open source implementation of the snakes or watershed segmentation algorithms?

I'm working in a graduation project whose goal is to perform a comparative analysis of segmentation algorithms. I have implemented in C++ a few segmentation algorithms in a undergraduate research project that I have participated (Otsu's method and the EM/MPM algorithm for example). I am planning to compare the algorithms that I have i...

How to use SIFT algorithm to compute how similiar two images are?

I have used the SIFT implementation of Andrea Vedaldi, to calculate the sift descriptors of two similar images (the second image is actually a zoomed in picture of the same object from a different angle). Now I am not able to figure out how to compare the descriptors to tell how similar the images are? I know that this question is not ...

What are the second-moments of a region?

I'm currently working on replicating some of the functionality of Matlab's regionprops function in Octave. However, I have a bit of a hangup on a subset of the functionality. The 'Eccentricity', 'MajorAxisLength', 'MinorAxisLength' and 'Orientation' properties are my sticking point. In the documentation, they all derive from "...the e...

Robotics and Computer Vision

Couple of friends and i will be building simple robot to track a white line on a black surface, we have never done this sort of thing before and i have very high level plan of attack, Get a mini atx board for all computing needs, a web cam to track the road and 2 electric motors one for propulsion one for direction. My main concern is,...

Algorithm for "filling in" texture in a 2D image

I recall seeing a paper a while back for an algorithm that could automatically and seamlessly "graft" texture from parts of an image onto another part of an image. The approach was something along the lines of the following: You'd build up a databases of small squares of pixels (perhaps 8X8) from the parts of the picture that are prese...

Edge Detection and transparency

Using images of articles of clothing taken against a consistent background, I would like to make all pixels in the image transparent except for the clothing. What is the best way to go about this? I have researched the algorithms that are common for this and the open source library opencv. Aside from rolling my own or using opencv is the...

computer vision: extracting info about a shape given a contour (e.g. pointy, round...)

Given the 2D contour of a shape in the form of lines and vertices, how can I Extract Information from that? like: Pointy, round, straight line. Shape similarities with a given shape. Code is not necessary, I am more interested in concepts and the names of techniques involved to guide my search.... Thanks in advance. ...

least square solution to camera matrix [numpy]

I would like to use use numpy's least square algorithm to solve for a camera matrix from 6 known 3D -> 2D point correspondence. I have been using this website as a reference: http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL%5FCOPIES/OWENS/LECT9/node4.html Currently my camera matrix seems to have very small values: [[ -1.01534118e-11 ...

Comparing cross point between 2 images in MATLAB

Hello, I took 2 images with a cross point and now I'm trying to compare these 2 images and find out what is the distance and angle moved. How can I use MATLAB to do this? Thank you very much! ...

Looking for ideas on a class project in Computer Vision

Hello all. I have come upon another class where I need to find an idea for a project, and since my last posting on SO for a project idea was so successful, I've decided to ask here again. I'm taking a class titled Computer Vision for Human-Computer Interaction, and we need to come up with a few ideas for a project that we will have abou...

Eye-detection in MATLAB

I have two images. In one of the images, my eye is in the center position and in the other image, it is in the left. How do I find out whether my eye is in the left or the right? I am using MATLAB. Are there any functions for this? ...

Transforming captured co-ordinates into screen co-ordinates

Hi everyone. I think this is probably a simple maths question but I have no idea what's going on right now. I'm capturing the positions of "markers" on a webcam and I have a list of markers and their co-ordinates. Four of the markers are the outer corners of a work surface, and the fifth (green) marker is a widget. Like this: Here's ...

Basics of normalized cross correlation

I am trying to use normxcorr2 (normalized cross-correlation) from MATLAB for calculating velocity of moving shapes in a developing embryo. I have 3 questions: 1) My image size is 260x360 pixels. I give a template size of 10x10 pixels and I ask the command to search for this template in the subsequent frame in a search window of 50x50 pi...