I would like to do crude edge detection. Which of the following techniques would be faster/more computationally efficient?
Technique 1:
GaussianBlur()
image with kernel5,5
.GaussianBlur()
image with kernel11,11
.Subtract the 2 images
- Benefits of this technique; less noise/eliminates smaller/weaker edges. Anything else?
- Cons of this technique; less accurate
Technique 2:
Sobel()
image to get horizontal edgesSobel()
image to get vertical edgesmagnitude()
to get edge strengths- Benefits of this technique; more accurate
- Cons of this technique; more noise/shows weaker edges