8.2. DoG kantfinning

8.2.1. Oversyn

Figur 17.164. Eksempel på bruk av filteret «DoG kantfinning»

Eksempel på bruk av filteret «DoG kantfinning»

Det opphavlege biletet

Eksempel på bruk av filteret «DoG kantfinning»

Filteret «DoG kantfinning» brukt med radius 1 = 1,000 og radius 2 = 0,100.


This filter does edge detection using the so-called «Difference of Gaussians» algorithm, which works by performing two different Gaussian blurs on the image, with a different blurring radius for each, and subtracting them to yield the result.

This algorithm is very widely used in artificial vision, and is pretty fast because there are very efficient methods for doing Gaussian blurs.

8.2.2. Slik slår du på filteret

Du finn dette filteret i hovudmenyen under FilterFinn kantarDoG kantfinning ….

8.2.3. Innstillingar

Figur 17.165. Innstillingane for filteret «DoG kantfinning»

Innstillingane for filteret «DoG kantfinning»

Forval, «Inngangstype», Klipping, Blandeinnstillingar, Førehandsvising, Flett samman filter, Delt vising
[Notat] Notat

Desse innstillingane er omtalte i Del 2, «Felles eigenskapar».

Radius 1, Radius 2

Radius 1 and Radius 2 are the blurring radii for the two Gaussian blurs. Increasing «Radius 1» tends to give thicker-appearing edges, and decreasing the «Radius 2» tends to increase the «threshold» for recognizing something as an edge.

If you want to produce something that looks like a sketch, in most cases setting «Radius 2» smaller than «Radius 1» will give better results.

In situations where you have a light figure on the dark background, reversing them may actually improve the result.