Classical edge detection algorithms, including the Canny and Sobel baselines we will compare against, look for these intensity discontinuities. The more recent pb (probability of boundary) boundary detection algorithm significantly outperforms these classical methods by considering texture and color discontinuities in addition to intensity discontinuities. Qualitatively, much of this performance jump comes from the ability of the pb algorithm to suppress false positives that the classical methods produce in textured regions.
In this repository we develop a somplified version of probabiltiy based edge detection.
In the first step we generate filter banks like LM, Gabor and Derivative of Gaussian filter bank.
DOG
LM filter bank
Gabor filter bank
The we create a texton, brightness and color gradient map.
Using the chi square distribution we calculate the difference in the gradients in order to obtain the sharpe changes in the image which is the edge in the image. Then we assign the 0.5 weight to the Canny and Sobel edge images and averaging all the result we obtain the final edege result.