Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 2 KB

README.md

File metadata and controls

35 lines (18 loc) · 2 KB

PB_lite_edge_detection

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. image

In the first step we generate filter banks like LM, Gabor and Derivative of Gaussian filter bank.

DOG

image

LM filter bank

image

Gabor filter bank

image

The we create a texton, brightness and color gradient map.

image

image

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.

image

image