Questions tagged [edge-detection]

Edge detection is the process of identifying points in an image, where image brightness changes sharply.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 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 ...
user avatar
0 votes
1 answer
32 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 ...
user avatar
  • 233
0 votes
0 answers
19 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 ...
user avatar
0 votes
0 answers
43 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,...
user avatar
2 votes
1 answer
135 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 ...
user avatar
0 votes
0 answers
32 views

How would you process this image?

I got this image: I need to keep only the part in the center (I mean, the circle with texture inside). How would you do it in Python? I'm trying to use Hough Transform, but some times it detect wrong ...
user avatar
5 votes
1 answer
147 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 ...
user avatar
  • 155
3 votes
1 answer
94 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 &...
user avatar
2 votes
1 answer
65 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 ...
user avatar
6 votes
2 answers
230 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.
user avatar
  • 83
3 votes
2 answers
97 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 ...
user avatar
0 votes
2 answers
122 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 ...
user avatar
  • 103
7 votes
2 answers
599 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]$ ...
user avatar
  • 273
2 votes
1 answer
77 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{\...
user avatar
6 votes
3 answers
114 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 ...
user avatar
5 votes
1 answer
398 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 ...
user avatar
0 votes
2 answers
38 views

Fitting a polynomial to a ridge in an array

I have an array of numerical data. Say, ...
user avatar
  • 2,038
1 vote
0 answers
36 views

What is Maximally Stable Extremal Regions (MSER)?

In the paper , MSER is being defined. Please help me understand what is MSER and how to implement it. The paper says, The regions are defined solely by an extremal property of the intensity ...
user avatar
0 votes
0 answers
251 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 ...
user avatar
7 votes
2 answers
511 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)
user avatar
  • 906
1 vote
1 answer
122 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 ...
user avatar
1 vote
1 answer
203 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 ...
user avatar
  • 167
6 votes
1 answer
138 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. ...
user avatar
  • 63
0 votes
1 answer
72 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 ...
user avatar
  • 101
1 vote
0 answers
34 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 ...
user avatar
1 vote
2 answers
586 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 ...
user avatar
4 votes
1 answer
482 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 ...
user avatar
0 votes
0 answers
35 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 ...
user avatar
  • 101
2 votes
2 answers
628 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 ...
user avatar
-1 votes
1 answer
83 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 ...
user avatar
  • 1
0 votes
0 answers
263 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 ...
user avatar
  • 101
0 votes
1 answer
41 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 ...
user avatar
1 vote
2 answers
143 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 ...
user avatar
  • 111
-1 votes
1 answer
324 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 ...
user avatar
6 votes
2 answers
4k views

Is the Sobel filter a high pass filter, and if not, what is the difference between them?

I am an artist with an interest in signal processing. I realize that maybe this question very basic, but the web banner on the frontpage says "anyone can ask", so I assume that means beginners too. ...
user avatar
2 votes
1 answer
46 views

How to Clean Black and White Images Which Are Results of Edge Detection

I want to extract text from some images with messy backgrounds. First step was switching to gray scale, applying an edge detection algorithm, and then cleaning up a little bit. Here's an example of ...
user avatar
  • 131
2 votes
1 answer
844 views

How to segment multiple overlapping coins (ellipses)

I am doing a program that counts coins (and tells their value by their size) with OpenCV (C++). Let's say we have an image of some coins. If there is an overlap of two coins at the same time, it is ...
user avatar
1 vote
1 answer
2k views

How can I trace a path around an image consisting of only black and white lines?

I'm looking for a way to trace a closed curve (i.e. a long list of pixel values all connected by lines in between) that approximates a bitmap image of black and white lines. The image starts out as an ...
user avatar
  • 193
-1 votes
1 answer
597 views

edge detection of 1-D signals

Would you please introduce me to some methods (or references) to do edge detection on some pulses (rectangular pulses embedded in noise). At first I apply some filters to smooth the signals, then I ...
user avatar
1 vote
2 answers
2k views

Why are edges in spatial images represented as edges in their Fourier transform image?

Here is a well-known image and its Fourier Transform (magnitude). If I understand correctly the theory behind the FFT, each pixel in the FFT image represents a certain 2D sine wave with frequency ...
user avatar
  • 133
4 votes
1 answer
838 views

What's Logic Behind the Construction of Sobel's Filter in Image Processing?

I am basically very new to this image processing field. I am presently working on edge detection on colour images. While learning the basics of edges and edge detection in images, I encountered image ...
user avatar
  • 213
1 vote
2 answers
3k views

Is it possible to combine two Sobel kernels into one?

...
user avatar
0 votes
1 answer
672 views

Automatically detect an image collage

I'm trying to automatically detect if an image is a collage vs a single photograph. I'm not too concerned with difficult cases of artistic collages. What I'm trying to solve is rectangular collages ...
user avatar
1 vote
0 answers
38 views

Chapter 4, section 4.2.1. in Szelisky computer vision, is there a mistake?

I've already asked a similar question in mathematics exchange without getting an answer, I read a bit more and I think the question might be more suitable for the signal processing exchange. ...
user avatar
0 votes
2 answers
128 views

Finding the edge pixels on only one side of the object

For my work on lung images, I get a binary image mostly resembling the pattern shown below. I need to find the pixels on the borders shown by yellow arrows. The edges on the other end are shown in ...
user avatar
1 vote
1 answer
3k 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, ...
user avatar
  • 133
4 votes
1 answer
215 views

How to Find Performance Ratio (PR)?

If we have one image from BSD (The Berkeley Segmentation Dataset and Benchmark) and for this images Ground truth, how to calculate PR? PR is the ratio of true to false edges, and can be calculated by ...
user avatar
  • 86
2 votes
3 answers
669 views

Detect the beginning of an increasing signal

After denoising and cleaning, I get amplitude signals like this (y-axis: dB): On bottom left of each of these 3 graphs, you can see a noise floor (nearly "horizontal line"). This noise floor ...
user avatar
  • 1,197
2 votes
1 answer
451 views

Designing an efficient curve-matching algorithm

I'm currently designing a curve-matching algorithm and as I already explored many ideas I'm requesting your help. So, if you got some advices about how to handle this problem, feel free to answer! ...
user avatar
  • 338
5 votes
2 answers
1k views

Why edge sharpening produces high frequency?

I have a low-resolution image in which the high frequencies are missing. When I apply an edge sharpening filter some of the missed high frequency is recovered. I am wondering why this edge sharpening ...
user avatar
  • 51