8.3. Hrana

8.3.1. Activating the filter

You can find this filter through FiltersEdge-DetectEdge….

8.3.2. Options

Obrázek 17.158. Edge filter options

Edge filter options

Presets, Preview, Split view
[Poznámka] Poznámka

These options are described in 2 – „Common Features“.


Detektor hran může využívat řadu různých detekčních algoritmů:

Sobelova metoda

Here, this method has no options and so is less interesting than the specific Sobel.

After applying the filter (Sobel option)

Prewittův kompas

Result doesn't look different from Sobel.

After applying the filter (Prewitt compass option)


Edges are thinner, less contrasted and more blurred than Sobel.

After applying the filter (Gradient option)


No evident difference from Sobel.

After applying the filter (Roberts option)


Edges less bright.

After applying the filter (Differential option)

Laplaceova metoda

Less interesting than the specific one.

After applying the filter (Laplace option)


Nízká hodnota znamená černý, vysoce kontrastní výsledek s tenkými hranami. Vysoká hodnota znamená silnější hrany, méně kontrastu a mnoho barev ve tmavých oblastech.

Border behavior

Where the edge detector will get adjoining pixels for its calculations when it is working on the image boundaries. This option will only have an effect on the boundaries of the result (if any). Clamp is the default and the best choice.


The result of this filter can be larger than the original image. With the default Adjust option, the layer will be automatically resized as necessary when the filter is applied. With the Clip option the result will be clipped to the layer boundary.