Questions tagged [opencv]
OpenCV (Open Source Computer Vision) is a cross-platform library of programming functions for real time computer vision.
30
questions
5
votes
1
answer
839
views
Gaussian Equivalent of Convolving an Image 50 Times with a Box Filter
I have a image that I'm convolving 50 times with a box filter, and I like to replace this with a single gaussian filter. Because both box filter and gaussian filter are separable I can just study the ...
4
votes
3
answers
2k
views
Vein extraction from this image
I have this image:
What methods should I use to extract the veins from this image.
Thank you.
28
votes
1
answer
4k
views
Mathematics of Harris corner point detection
This is the mathematical expression for Harris corner detection:
But I have the following doubts:
What is the physical significance of $u$ and $v$? Many references say it is the magnitude by which ...
23
votes
3
answers
41k
views
What Is the Difference between Difference of Gaussian, Laplace of Gaussian, and Mexican Hat Wavelet?
There are three techniques used in CV that seem very similar to each other, but with subtle differences:
Laplacian of Gaussian: $\nabla^2\left[g(x,y,t)\ast f(x,y)\right]$
Difference of Gaussians: $ \...
0
votes
1
answer
885
views
2D DWT Image Issue
In the literature, I see that a 2D signal can be transformed by first doing a 1D transformation on each row of the matrix followed by the same procedure on each column. It seems that $k^{th}$ level ...
35
votes
7
answers
27k
views
Finding squares in Image
I need to find the squares in an image using OpenCV (no problem in matlab or any other, generally what i expect are some ideas).
Consider the test image below :
I need to find those coloured squares ...
5
votes
1
answer
5k
views
How to get a top view using open cv?
I have a situation where i need to extract the top view of a road from the 'skewed' view I get from a cc camera located on some roadside tree. I would like to do this using OpenCV, but since I'm very ...
22
votes
2
answers
24k
views
Why do we use keypoint descriptors?
I just studied about SURF and I'm going for its implementation, but I still didn't understand why we use descriptors.
I understand what keypoints are and their purpose, but when we extract the ...
14
votes
4
answers
24k
views
Scale and Rotation invariant Template Matching
I'm looking for a method for scale and rotation invariant Template matching. I already tried some, but they didn't work so good for my examples or took for ever to execute
.
SIFT and SURF Feature ...
14
votes
2
answers
25k
views
How to compute camera pose from Homography matrix?
Say I use only one calibrated camera. From this camera, I get images A and B. I know the homography between A and B, computed through OpenCV's findHomography().
I know the pose (rotation matrix R and ...
12
votes
2
answers
5k
views
Pedestrian counting algorithm
Currently I am developing a pedestrian counter project (using OpenCV+QT on Linux). My idea about the approach is:
Capture Frames
Do Background Subtraction
clear noises (erode, dilate)
find blobs (...
10
votes
2
answers
5k
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 ...
9
votes
1
answer
10k
views
How can I detect elements of GUI using opencv?
Given a screenshot of an application, is there any way of finding GUI elements of that application using only opencv? (something like in the image)
I tried to play with blending the image and other ...
8
votes
2
answers
6k
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 ...
8
votes
3
answers
7k
views
OpenCV detectin skin colour invariant with illumination changes
I have to capture skin colour independent of illumination.
I used the following criteria(using hsv and rgb) but it ain't working:
...
7
votes
3
answers
4k
views
count blood cells
How to count blood cells in opencv? The problem is that they stick together.
The example picture :
Maybe pairwise geometric histogram (Geometric Histograms) suitable for matching partial circle ...
6
votes
1
answer
2k
views
How Could One Imitate Photoshop's Vibrance Filter with OpenCV?
Can somebody please explain how Photoshop vibrance function can use in opencv c++ ? so that I may reproduce the same effects in my application. Here is the vibrance ...
5
votes
2
answers
3k
views
Recover myself from Dilate and Erode for noise reduction
i have obtained some skin detection map (i post below two example of detection map). but, i'm using a normal webcam and the map is noisy. Not a lot, just a bit.
I think i can remove noise only with ...
5
votes
1
answer
2k
views
Obtain motion between image features by means of the homography matrix
I have been reading several really good answers about how to obtain camera pose (rotation, translation, etc), such as this one and this one, but I am not sure how this applies to my problem.
My ...
5
votes
3
answers
4k
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 ...
4
votes
1
answer
836
views
Feature Detection on a Circular Metal Surface for Character Recognition
Hello I'm trying to recognize characters on the circular metal surface.
Without any preprocessing I could match cropped features with original image.
I've actually cropped 2 characters together to ...
4
votes
1
answer
2k
views
what is the starting point of a contour as given by cvConvexityDefect() function in OpenCV
i have to distinguish between palm and elbow in my contour(I'm using cvconvexitydefect for that purpose). Here's the image:
I'm taking contour of left image.
the 2 topmost points in right image are ...
4
votes
1
answer
556
views
How to Get Rid of Ripples from a Gradient Image of a Smoothed Image?
I have a gray scale UINT8 image. When I smooth it with a Gaussian filter and then compute the gradient image with a Sobel filter in OpenCV, ripples would appear.
...
3
votes
0
answers
885
views
Optimal measurement model for Kalman in Augmented Reality
I am developing an augmented reality SDK that uses Kalman for tracking a planar marker. My state is composed of 3D position, a quaternion, velocity and angular velocity.
\begin{bmatrix}{\vec{p}}\\{\...
2
votes
1
answer
130
views
Looking for a way to fill holes in objects, and break bridges between them
I am trying to extract building footprints from satellite images. Using a series of morphological operations i.e erosion and opening by reconstruction, I'm able to obtain the footprints, albeit with a ...
1
vote
1
answer
216
views
How to categorize the images based on Illumination / shadow?
Input: Cropped face or Non Cropped face images.
Detailed explanation: My project is face authentication. I am using OpenCV face detector to crop face from images. I am using OpenCV implementation of ...
1
vote
1
answer
4k
views
How to detach overlapping contours but not to remove small ones. Alternative to erosion-dilation cycle
Background:
I'm trying to detect trees on a sequence of aerial images by calculating a stereo disparity for consequent pairs of images. This is how disparity looks like. White spots are trees:
Next, ...
1
vote
2
answers
11k
views
Running the BM3D Denoising Algorithm in Python
I am looking for a strong baseline in image denoising and therefore wanted to have the BM3D algorithm in my benchmark.
These 2 python implementations:
https://github.com/ericmjonas/pybm3d
https://...
0
votes
1
answer
2k
views
Histogram and binary image in opencv? [closed]
I would like to compute how many zeros and ones (e.i. 255) in a binary image. The following code to generate a binary image by using Matlab.
...
0
votes
1
answer
3k
views
python: how to compute the sharpness features of image
I am extracting the sharpness features of image as shown in the following image mentioned in a paper.
I have done with the following code.
Firstly, use the open cv convert the RGB to HSL (luminance ...