9.7. Erodează

9.7.1. Prezentare generală

Fig. 17.190. Applying example for the Erode filter

Applying example for the Erode filter

Imagine originală

Applying example for the Erode filter

Filter Erode applied


Acest filtru lărgește și îmbunătățește zonele întunecate ale stratului sau selecției active.

For every image pixel, it brings the pixel Value (luminosity) into line with the lowest Value (the darkest) of the 8 neighboring pixels (3×3 matrix). So, a dark pixel is added around dark areas. An isolated pixel on a brighter background will be changed to a big pixel, composed of 9 pixels, and that will create some noise in the image.

In this image, the studied pixel has a red border and the studied 3×3 matrix has a green border. Thus when the pixel marked with I is inside the green border, the studied pixel turns to black.

A larger dark area will expand by one pixel in all directions:

Filtrul a fost aplicat de 3 ori.

Pe imagini mai complexe, zonele întunecate sunt lărgite și îmbunătățite la fel, și oarecum pixelate. Aici, filtrul a fost aplicat de 3 ori:

Desigur, dacă fundalul este mai întunecat decât prim-planul, acesta va acoperi întreaga imagine.

9.7.2. Activating the Filter

Acest filtru se găsește în meniul fereastră al imaginii sub FiltreGenericeErodează.

9.7.3. Exemple

Fig. 17.191. Erode text

Erode text