Questions tagged [edge-detection]
Edge detection is the process of identifying points in an image, where image brightness changes sharply.
165
questions
4
votes
1
answer
196
views
Detect Longest Vertical Lines (Edges) in an Image
I have a task in image processing, which need to detect vertical lines from matrix. For example, there is a pair of white and black vertical lines segmenting the picture below. I need to find it. So I ...
1
vote
0
answers
49
views
Chebyshev filter analog in computer vision?
Looking at the basic characteristics of a Chebyshev Filter, I was wondering if there were any analogous type filters in Computer Vision? The way that it can minimize the error between the idealized ...
4
votes
1
answer
456
views
OpenCV 2 Connect Incomplete Contours edges
I have to connect the unfinished edges of the contours in the red color bounding box.
I used distance transform, watershed, and morphology, but still, edges are not connecting.
...
4
votes
2
answers
123
views
Separating dominoes pieces from one another and counting them
I Have a picture of Dominoes on a table, which is noisy.
I am trying to do the following:
removing the background.
counting how many dominoes pieces are there.
identifying what each piece represent.
...
0
votes
0
answers
38
views
How to Implement the Sub Pixel Refinement Phase in Scale Invariant Feature Transform (SIFT)
I'm trying implement SIFT(Scale-invariant feature transform) myself. I've read some documents and stuck at Sub-Pixel Refinement - left without knowing how to actually implement it in code. I do ...
0
votes
0
answers
42
views
Detection of a specific ship with known ship 3d model
I want to detect a specific ship in sea from a low flying aerial vehicle, equipped with a camera (e.g., a drone). Suppose the ship is this. In general, the ship should remain "constant" in ...
1
vote
0
answers
35
views
A mathematical justification of discontinuity detection using STFT
I'm trying to detect rapid changes in a one-dimensional signal say $[0,1]\ni t \mapsto f(t) \in [-1,1]$. By rapid changes, I mean corner points, edges, or sharp transitions at a point for example the ...
1
vote
1
answer
49
views
Segment Image of Small Elements on Neutral Background
I have a 8 bit gray level image where if the value = 122 it means no information, value = 0 means highly negative, and value = 255 means highly positive.
I want to connect as many positive information ...
0
votes
2
answers
50
views
Removing tessellating interference patterns from images
The microscopy image below is corrupted by an irregular checkerboard-like grid. I attempted running 2D-FFT on the image, but was unable to isolate the frequencies which cause the pattern.
How would I ...
0
votes
1
answer
95
views
Segmenting dark spots from a light background?
I need to perform automatic segmentation of dark blue spots on light yellow paper. Here's a very simple example:
In this case, a simple threshold based on hue or brightness works well. But here are ...
1
vote
1
answer
148
views
How many directions are there in the Non Maximum Suppression part of the Canny Edge Detector
In the Non-maximum suppression algorithm, each pixel has a total of 4 directions since there are 8 neighboring pixels. But why there is not 8 directions instead, please? I see below there are 8 ...
1
vote
0
answers
129
views
Why is Envelope noisy even after filtering and achievement of SNR gain (-6dB SNR to 14dB snr)?
A noisy signal with 500 MHz bandwidth, with negative SNR, when filtered to 6 MHz bandwidth, should attain a theoretical SNR gain of 20 dB. So if the original signal has -6 dB SNR, after filtering we ...
4
votes
1
answer
120
views
Interpreting results of Sobel Edge Detection
I am implementing A No-Reference Perceptual Blur Metric paper.
Somewhere in the prep steps they mention the use of vertical Sobel filter for finding vertical edges.
The algorithm is summarized in Fig....
1
vote
1
answer
304
views
Removing dark borders in Image Stitching for Panorama
I am working on a Matlab code for panoramic image stitching for multiple image frames and getting satisfactory results however there are always dark regions surrounding the stitched images as ...
2
votes
1
answer
153
views
Implementation of Deriche filter
The Canny edge detector is expressed by the derivative of the Gaussian. Its practical implementation involves the Gaussian filter, then the Sobel filter to calculate the gradient in both directions. ...
1
vote
1
answer
150
views
Finite/Infinite Impulse Response filters
Most image filters are of finite extension (which correspond to Finite Impulse Response in 1 dimension), like Laplacian, Canny, Gaussian... Instead of being of infinite extension (IIR in 1D). Why is ...
2
votes
0
answers
64
views
Numerical optimization method for optimal edge detector
John Canny, in his paper "A Computational Approach to Edge Detection" (PDF), finds the expression of an optimal edge detector by first using an analytical approach (Euler-Lagrange equation). ...
2
votes
1
answer
42
views
How are the edges of an image obtained with anisotropic diffusion?
I already know how to implement the method and obtain a correctly diffused image, but in the papers related to the topic there is usually an edge map that's calculated after the diffusion is performed ...
2
votes
1
answer
41
views
Edge Detection with a special algorithm
Studying for my finals in Image Processing. Trying to solve the following question:
An image processing specialist recommended an algorithm for Edge Detection in a color image RGB. He argued that it ...
0
votes
0
answers
47
views
Detecting bounded regions in JavaScript
I have an image of a crossword , and I would like to find the x,y coordinates of every valid square and the number associated with it, then I would feed it into crossword.js.
Here are some sample ...
0
votes
0
answers
129
views
MATLAB code to detect the corners of an object without using the built in functions
I need to write a MATLAB code to detect the corners of an object in a black and white image without the built-in MATLAB vision toolbox or bwlabel, imrotate, imresize, corner, edge, reshape, imfilter,...
2
votes
1
answer
573
views
Edge Detection Convolution Intuition
I was learning about convolution and how filtering helps us to detect an edge in an image;however I still cannot not understand how the convolution process in the image below does this.
I understand ...
4
votes
1
answer
459
views
How to Remove Double Lines Detected Along the Edges by Edge Detector?
I'm trying to take real time input for hand gestures with web cam, then processing the images to feed them to a neural network. I wrote this processing function to make the hand features look ...
3
votes
1
answer
355
views
1st and 2nd Gaussian derivatives for edge detection
I have a project about edge detection, I made research on internet about filters and read many articles but there is an article talked about using Sobel and Gaussian derivatives then it mentioned &...
2
votes
1
answer
113
views
Extracting ridges in automatically in image
I am trying to extract ridges from an image, calculated using the eigenvalues of the Hessian matrix (see answer in Best way of segmenting veins in leaves?). In this image I have zeroed out the ...
5
votes
2
answers
550
views
Should Edge Detection Be Applied in Spatial or in Frequency Domain?
I want to ask why everywhere is used to do edge detection in spatial domain and not in frequency domain with FFT of image and apply HP filter. Thank you.
3
votes
2
answers
210
views
Help or suggestions with Line detection in microscopy images
I'm doing a personal project in which I want to select some very specific lines in a microscopy image.
The first picture is the raw image, the second picture is the image for the lines (in yellow) I ...
0
votes
2
answers
325
views
How to detect defects at a contour?
I am detecting a contour of a smooth metal. I do binarization first then use openCV contour function. But sometimes the metal has defects such as dots or dusts at edge. This leads a unsmooth edge. Is ...
6
votes
2
answers
1k
views
How Come the Low Pass Filter in Sobel Operator Isn't Normalized?
I am relatively new to the field of computer vision and I have just learnt about the sobel operator. The sobel operator in the x direction is a convolution of the finite difference kernel $[1,0,-1]$ ...
2
votes
1
answer
149
views
Significance of outer product in structure tensor / second moment matrix
How does one interpret the outer product $\mathbf{M} = \nabla I \otimes \nabla I = \begin{bmatrix}\left(\frac{\partial I}{\partial x}(x)\right)^2 & \frac{\partial I}{\partial x}(x) \cdot \frac{\...
5
votes
3
answers
143
views
Reversing the Order of Operators for Edge Detection?
Usually, for edge detection, we perform smoothing and then pass it through difference filter. What if application of difference filter happens first and then smoothing. How the math behind the same ...
5
votes
1
answer
876
views
What Is an Oriented Gaussian Second Derivative Filter
In the paper: Detecting and Localizing Edges Composed of Steps, Peaks and Roofs, the authors refer to an image filter as an oriented second-derivative Gaussian filter. I'm trying to figure out what ...
0
votes
2
answers
63
views
Fitting a polynomial to a ridge in an array
I have an array of numerical data. Say,
...
2
votes
1
answer
103
views
What is Maximally Stable Extremal Regions (MSER)?
In the paper Robust wide-baseline stereo from maximally stable extremal regions , MSER is being defined. Please help me understand what is MSER and how to implement it.
The paper says,
The regions ...
0
votes
0
answers
332
views
Maximally Stable Extremal Regions (MSER) Implementation in Document Image Character Patch Identification
My task is to identify character patches within the document image. Consider the image below:
Based from the paper titled "CG-DIQA: No-reference Document Image Quality Assessment Based on ...
5
votes
2
answers
1k
views
Edge Detection vs. Contour Detection?
What is the difference between edge detection and contour detection?
Apparently both techniques are used to detect boundaries of close shapes(whether oval shape or r rectangular shape)
1
vote
1
answer
222
views
Identify if a Specific Edge Pixel Belongs to Horizontal, Vertical or Diagonal Edge Line
I have a code below that identifies the edge of the text image. Input image is:
Output display is:
I want to select random points near the edge border of the text. I was thinking to identify if the ...
1
vote
1
answer
321
views
Understanding the Threshold Process in Harris Corner and Edge Detector
I have read the paper Chris Harris , Mike Stephens - A Combined Corner and Edge Detector about the Harris Corner and Edge Detector, but I didn't understand the point that after low and high threshold ...
5
votes
1
answer
184
views
Is HSV Color Space Sufficient for Rudimentary Color ID and Edge Detection
I want to, as part of a C++ school project (no OpenCV), work with an RGB image taken from a camera filming smarties (round colored pellets) from above and extract the number of candies in each color.
...
1
vote
1
answer
110
views
Why we need Laplacian for edge detection?
I am studying some trivial computer vision processing techniques and I came across edge detection algorithms. IMO sharp changes in the gradient are enough indications to detect the edges in an image ...
1
vote
0
answers
37
views
Finding defects in wall paint (finding difference in textures)
I have been experimenting with computer vision techniques to find defects in paintings, more specifically defective brush strokes. I have tried a handful of techniques such as different filters, One ...
1
vote
2
answers
1k
views
How to find position, scale and rotation of a known shape/contour in an image?
I have an image of an object.
The image shows a high contrast outline of the object.
It is guaranteed that the image shows exactly one object.
The shape/contour of that outline is known.
It is not ...
5
votes
1
answer
596
views
Intuition behind image derivative using Fourier Transform for edges detection
This equation can be shown mathematically:
$\frac{\partial f}{\partial x}=\frac{2\pi i}{N} \mathcal F^{-1}\left(u\cdot \mathcal F(f(x,y)\right)$
I am struggling to understand the intuition behind it ...
0
votes
0
answers
83
views
Help understand the results of hough transform
I'm trying to apply the Hough transform of the following image using MATLAB:
The result is:
How could I predict that there are 6 bright spots in the resulted image? I expected 8 spots since I ...
2
votes
2
answers
954
views
why do directional derivatives work better with a gaussian filter?
I've been working on image segmentation and computing the directional derivatives of a grey-scaled image, with the objective of detecting contours and edges. I have realised that if I apply a gaussian ...
0
votes
1
answer
98
views
Recommended approach for extracting specific edges from image?
I have several sets of images with a typical image being:
and from each image, I would like to extract the top and bottom curves of the object, shown in red here:
What are some possible tools I ...
1
vote
1
answer
384
views
What are the limitations of Watershed Segmentation Algorithm?
I am developing an Android application using Opencv to detect objects from images.
I used Canny edge detector to detect the edges and extract contours, and it's working good so far.
But I need to ...
0
votes
1
answer
49
views
Estimate gap between two adjacent images
I have two images of a panoramic view but there is a small gap (<24 pixels) in the horizontal dimension between them. I would like to do interpolation/inpainting to fill the gap, but the exact size ...
1
vote
2
answers
241
views
How to discard deviating values from standard deviation and running average
I'm building a inductive vehicle loop detector. By measuring the frequency of a LC-oscillator where the cars will pass over the inductor of the LC-Oscillator.
If the cars pass over the inductor the ...
-1
votes
1
answer
412
views
Does flat surface detection and orientation require special hardware to compute?
Modern augmented reality platforms such as Google's ARCore and Apple's ARKit seem to only operate on mobile devices, I'm guessing, because their underlying algorithms require specialized hardware that ...