OpenCV (Open Source Computer Vision) is a cross-platform library of programming functions for real time computer vision.

learn more… | top users | synonyms

-1
votes
0answers
10 views

Camera Calibration: Homography method giving wrong coordinates [closed]

I am using OpenCV with C++. I have the pose matrix and 3D coordinate estimation method mentioned in this post. My homography matrix looks like this: [0.06203848937168999, -0.9979381329101257, ...
1
vote
3answers
23 views

Segmenting and labeling chessboards through computer vision

With almost no experience/knowledge in computer vision, I am currently trying to segment and label the separate squares on a chessboard (i.e. a1 ... h8). My goal is to use the information to ...
1
vote
1answer
44 views

Computing cross-correlation of two images using OpenCV

I have a program that uses OpenCV to compute either the convolution or cross-correlation of an image with a specified kernel. I compute cross-correlation by setting the conjB flag to true when calling ...
0
votes
0answers
11 views

Get a single line representations for multiple close by lines clustered together in opencv

I detected lines in an image and drew them in a separate image file in OpenCv C++. Following is a part of it. There are actually hundreds of small and thin lines which form a big single line. But I ...
1
vote
1answer
46 views

mathematical transfer for different camera attributes

Suppose I have two camera shoots(Image1,Image2) for the exactly same scene (each pixel is alignment correctly) but from different cameras and different light conditions. I want to remove this light ...
0
votes
1answer
45 views

Metal Defect Detection

I am developing a machine vision project to find defects on metal surfaces. I want to learn and implement algorithms which commercial systems are use for metal surface defect. My sample object as ...
0
votes
0answers
26 views

Deriche recursive filter using OpenCV

Is it possible to create a Deriche recursive filter using opencv (the Deriche filter is a blur that minimizes noise and preserves edges for later edge detection)? I can create one using CPU code, but ...
1
vote
1answer
30 views

Getting blobs from similar colored contours in grayscale image

I want to select the staff lines as individual blobs in either of these images: Is this possible?
0
votes
0answers
50 views

Tracking a ball (using EmguCV)

I've got a video of a ball, I've done background subtraction (using MOG2) to isolate the change in the image. And I'm performing a blur to remove some of the noise caused by light/shadows/etc. So, ...
1
vote
1answer
46 views

K-means for 2D point clustering in python

I have a set of points(2D) whose pixels are set and want to perform k-means on these pixels. Is clustering the 2D coordinates the right way ? If so, can that be done using any libraries in python ?
0
votes
0answers
11 views

Eliminate frames with high reflection

I have online camera stream and want to eliminate frames with high reflection like this for example: The constraints are : Real-time no more than 2-3 mSec on Mobile Non-reference : the process ...
0
votes
0answers
29 views

Reliable detection of facial feature points

What I need is a very reliable and relatively fast (video processing) way to locate facial features. I tried stasm (http://www.milbo.users.sonic.net/stasm/) and a BoRMaN ...
1
vote
0answers
49 views

Is MATLAB the best coding tool for Digital Image Processing? [duplicate]

I am a beginner. I do coding in Matlab only for image processing purpose. But my friends say it is very slow and in OpenCv I could get multiple times faster output results compared to Matlab.In basic ...
0
votes
1answer
46 views

Balance brightness and contrast between two images

I have two different images for the same object. Each one was taken from different device (scanner, mobile camera, professional camera ..etc). the process of registeration one of them to the other ...
0
votes
0answers
39 views

get convex hull of isolated shapes with openCV/C++

I have segmented CT images, something like the following one: I would like to get a convex hull that contains all the white regions. Something like this circle, but more fitting, and of course not ...
1
vote
2answers
58 views

cause of adaptive threshold poor result

I try to run text cleaning process based on the camera captured image. By using OpenCV adaptive threshold method with parameter ...
0
votes
2answers
89 views

Median filter algorithm in opencv

I was wondering about the implementation of the Median Filter in opencv because I am suffering form its slowness. So, I intend to implement another one on my own but first I want to make sure about ...
1
vote
2answers
133 views

Finding the Harmonics contained in an Image?

I am beginer in image processing. Any signal whether it is 1D,2D or any multidimensional signal can be represented using combination of number of sine and cosine wavesforms (harmonics). Similerly any ...
0
votes
0answers
25 views

Finger Detection on various backgrounds

I tried tracking down the finger placed in the frame. Constraints: Algorithm works in live streaming of USB Camera, so there will be a lot of background changes. Algorithms tried: Tried ...
1
vote
5answers
258 views

Noise Removal from an image using Opencv

I tried removing noise from the image shown below using Median Blur in OpenCV. But i'm not able to remove the colour noise completely as it is done in Neat Image. Any suggestions.? 1. Original Input ...
0
votes
3answers
128 views

Matching two very similar images

I have two images for the same object from the almost same perspective (no more than 1-2 degrees or 1-2 mm is acceptable). I want to change the perspective of one of them to match exactly the other so ...
0
votes
1answer
51 views

In opecv function Hough circles how does parameter 1 and 2 affect circle detection and how can i adjust them to increase accuracy??

http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/hough_circle/hough_circle.html I'm using houghcircle function to detect circle.Problem is if i set minimum radius to null it detects wrong center ...
0
votes
2answers
110 views

Image processing (number recognition) woes

So I have the following image: Using GIMP, I was able to get to here: Select all white color (with a touch of fuzz) Invert selection Cut selection Invert all color (goes black) But now I'm ...
0
votes
1answer
97 views

How to detect all the connected neighboring pixels which have same color value in opencv

I should be able to input a pixel position and get all the same coloured(in my case it should be black) pixels which are connected to it. How to do this in opencv with c++. Simply the output pixels ...
0
votes
0answers
136 views

regionprops vs. findContours doesn't find the same contours

Is there a way to get the same results for cDist=regionprops(bwImg, 'Area'); and openCV's findContours? Here is what I have tried so far: ...
1
vote
1answer
97 views

Isolate the non blurred part of foucsed image

I have an image taken by a mobile phone camera with focus on a part of it let say a face or whatever. I want to know -approximately- where is the focused area. For example, a bounding box around the ...
0
votes
0answers
19 views

Hue out of range

I don't why.. but for some reason is my histogram showing that the max hue value of my image is around 339498 which doesn't make sense for me.. I am trying to create a mask, that recognizes the ...
1
vote
1answer
133 views

How to calculate the luminance of an image?

Is there any method for calculating luminance of an image? As from wiki got to know Luminance is an amount of energy perceived by the observer and LUX is different from brightness. But still is ...
0
votes
0answers
48 views

snr calculation of frame

I have to calculate SNR of an image. I have camera through which continuous images are getting generated, my requirement is to calculate the SNR in db for each image. I have seen lot of the examples ...
0
votes
0answers
17 views

Coherence of specific area of an image

I have to detect an object in an image. The manner that I am using gives me a number of possible areas of the image that may contain the object. I want to check which is the most coherence area of ...
1
vote
0answers
39 views

Primitive Feature Detection

I am trying to check whether this black circle is exist or not on my images. My current approach is like that; Hough Circle detection Crop the outer roi Adaptive threshold count zero ...
0
votes
2answers
200 views

Skew detection and correction using Fourier transform

I was trying to implement skew correction method for scanned documents using the method described in this paper. The algorithm steps: 1- Threshold the image . 2- Find the fourier transform. 3- ...
0
votes
2answers
77 views

Removing the 'red' artifact from my JPEG

I have a JPEG that originally came from a IP Camera. I have converted the JPEG to a bytes and have uploaded it to my server. Upon receiving it on my server I save it to disk. When I view the image it ...
2
votes
0answers
91 views

Efficient Hessian-Laplace blob detector implementation

As it is mentioned in a paper for SURF, it is possible to approximate hessian determinant using integral images. If I want to implement Hessian-Laplace detector, is it feasible to also approximate ...
0
votes
0answers
52 views

contour matching

Im am trying to extract contours from an image and match them with a list of contours I already have. The contours in the image are surrounded by a large black/dark rectangle. Here are the steps I ...
0
votes
1answer
434 views

Circle detection opencv

I Would like an explanation of the parameters for opencv's HoughCircles function. I'm new to image processing in general and I have recently started using opencv. ...
0
votes
0answers
228 views

DFT and Inverse DFT in Image Processing

I have implemented DFT from this link. 1) Tried taking dft for the three Channels(R, G and B) and reconstructed the original image by taking inverse dft for all three channels and merged them ...
0
votes
0answers
44 views

Non-maxima suppression of gradient image

I'm new to image processing, However I was trying to learn how to detect edges using Sobel filter I had obtained the image gradient in both X and Y directions successfully using Emgu built in ...
0
votes
0answers
59 views

How to compute Gradient of an image with kernel in python

Using python numpy or scipy I am trying to perform cross-correlation on each pixel of an image using a 3 dimensional kernel. I am more interested in looping into each pixel and applying the kernel ...
0
votes
0answers
20 views

Measuring contrast of a jpeg

I am knew to image processing. I am using Emgu C# I want to somehow measure the contrast of an image. It would be enough for my purposes to say ImageA has more contrast than ImageB. I have spent ...
2
votes
2answers
110 views

How to remove text region in a document image? or extract image from a document image

Given a document image (i.e. newspaper), how to extract photos in it or remove text region? I think traditional OCR methods may not be suitable here, as I don't need to recognize the text, and OCR is ...
0
votes
0answers
37 views

How do I deal with occlusion, warping, or perspective distortion for object detection

I am using SIFT features for detecting logos in clothes. SIFT is quite powerful, as it is scale invariant, but how do I deal with the problem of occlusion and warping? More specifically, the logos in ...
0
votes
0answers
31 views

Creating a texture image from existing image

I have some unusual question. I have searched online and couldn't find something similar to what I want to achieve. I have an image, and I want to create a new image from it (in the same size), so ...
0
votes
0answers
27 views

what are moments?

Hello all I'm using opencv after using findcontours I apply moments here is the vague wiki definition - http://en.wikipedia.org/wiki/Image_moment Can someone please explain in simpler words - ...
0
votes
4answers
95 views

Is this image good enough for OCR?

Hello I'm trying to ocr on a special image. I've done adaptive threshold , polartocartesian transformation. this is my original image this is adaptive threshold this is polartocartesian ...
1
vote
0answers
40 views

Gap Filling Contours / Lines

I have the following image: and I would like to fill in its contours (i.e. I would like to gap fill the lines in this image). I have tried a morphological closing, but using a rectangular kernel ...
0
votes
1answer
54 views

How to choose suitable segmentation process for image processing

Hello I'm new on image processing. I know there are a lot of threshold and region growing algorithms to use. But I would like to know what is the trick for choosing suitable method for an image ? ...
4
votes
2answers
261 views

How to remove the noise without destroying the main edge?

I am working on a project. I want to segment a logo from a car and the picture's size is 3648*2432. The logo is selected by the red rectangle. I extracted this area and turn into gray level. The ...
3
votes
1answer
176 views

Is it possible to hack camera calibration without having access to the camera?

Many times we have a stream of video to process without access to camera. Having access to camera matrix would be beneficial for various processing techniques. Is it possible to hack camera ...
0
votes
0answers
100 views

opencv4Android,How to draw good matches?

I am doing a project on panoramic stitching of Images using openCV4Ansroid and I want to use features2d to draw good matches ...