Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [canny-edge-detector]

Use for questions about the Canny edge detector

Filter by
Sorted by
Tagged with
0 votes
0 answers

Explaination on this "more accurate implementation" of Gradient magnitude thresholding

I'm reading the implementation of "Canny edge detector" in Wiki page: Canny edge detector. In the section "Gradient magnitude thresholding", it says: In more accurate ...
MathematicsBeginner's user avatar
1 vote
1 answer

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 ...
Avv's user avatar
  • 113
2 votes
0 answers

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). ...
edgeboyy's user avatar
4 votes
1 answer

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 ...
Debbie's user avatar
  • 145
0 votes
0 answers

Having trouble calculating the correct Gaussian Kernel values from the Gaussian function formula

I'm having trouble calculating the same values for a Gaussian filter kernel as those derived in the Canny edge detector Wikipedia page It states: The equation for a Gaussian filter kernel of size (2k+...
Nevermore's user avatar
  • 101
0 votes
0 answers

MatLab-Finding error in hough line transform

Can I calculate the number of error in Hough Line Transform using MatLab? I did Hough Line Transform process from Canny Edge Detection, but it is unable to detect all the lines. Thanks.
rdhnrll's user avatar
1 vote
0 answers

Perona Malik Noise Estimator using Canny

In Perona and Malik, they state: a histogram of the absolute values of the gradient throughout the image was computed, and K was set equal to the ...
Alex Rothberg's user avatar
0 votes
1 answer

detecting edge direction using Julia-language

Let say we have following image: made with following Julia-code: ...
arash javan's user avatar
1 vote
1 answer

Getting rid of Canny outliers

I have been using the Canny edge detection function in OpenCV to detect the edge of an elliptic annulus (light object, dark background). In theory there should be two edges. However, it sometimes does ...
ChrisF's user avatar
  • 13
1 vote
1 answer

Lane detection and tracking using B-snake?

I am truly sorry if my question sounds little bit stupid, but I am getting stuck at this part for a long time. I am currently working for my final year project of lane detection for curved road using ...
sheeha66's user avatar
5 votes
2 answers

What's the best technique to determine if the contents of two images are the same?

I need to run comparisons on the output of hundreds of frames of simple 3D-rendered characters. Perceptually, many of the frames are exact duplicates. Based on this, I assumed something like a ...
user avatar
12 votes
2 answers

Why Is the Canny Edge Detection Used Instead of Sobel / Prewitt Edge Detection Before Hough Transformation?

I know that for the Hough Transform to work on an image, it needs to be a binary image. To convert from a grayscale image, an edge detection algorithm should be employed. I notice that people always ...
AshivD's user avatar
  • 133
3 votes
1 answer

Canny non-max suppression intro

I have rich experience signal-processing, but haven't touched image processing since my happy university days... so: Working on a side project, I need to enhance ridges (continuous lines) in a 2D ...
bavaza's user avatar
  • 133
2 votes
2 answers

Edge following using Hough transform

I am trying to improve an edge following algorithm developed by some students who did a project at my work. The algorithm is supposed to make a robot follow a line with the use of a camera. Their ...
user8276's user avatar
2 votes
1 answer

Influence of image size to edge detection in OpenCV

I need to scan an image in OpenCV and obtain the lines. For this I use the canny edge detector and then the propabilistic Hough transform, with which I actually get the lines. The problem now is that ...
BlackMamba's user avatar
0 votes
1 answer

Is the Canny algorithm enough for creating a feature descriptor image for input to an SVM?

I retrieve contours from images by using the Canny algorithm. Is this enough preprocessing to have a descriptor image for input into an SVM to find similarities? Do I need other features like ...
postgres's user avatar
  • 253
1 vote
0 answers

Edge detection gives pixel ids, why?

This questions is in conjugation with this one here! Canny edge detector gives ids of pixels in an image. Not the locations of the edges. To be specific, after all it should be an edge between two ...
Naresh's user avatar
  • 271
10 votes
1 answer

Could you describe the effects for varying different parameters of a canny edge detector?

Last couple of questions touched upon Canny edge detector What are the limitations of a Canny edge detector? and Best way of segmenting veins in leaves? The basic outline of the algorithm is as ...
Dipan Mehta's user avatar
  • 5,597