3.6. Ortanca Bulanıklığı

3.6.1. Genel Görünüm

While the Gaussian blur filter calculates the mean of the neighboring pixels, the Median blur filter calculates the median:

Şekil 17.18. Ortanca Hesaplama

Ortanca Hesaplama

3×3'lük bir komşuluk. Değerler artan sırada. Ortanca kırmızı ile çevrelenmiştir.


This calculation does not create a new value, and an unrepresentative pixel in the neighborhood will not affect the result. So, the filter preserves edges and rounds corners. It is used to reduce noise, especially salt and pepper noise, and delete scratches on photographs.

3.6.2. Süzgeci Etkinleştirme

Bu süzgeç ana menüde SüzgeçlerBulanıklıkOrtanca Bulanıklığı… altında bulunur.

3.6.3. Seçenekler

Şekil 17.19. Ortanca Bulanıklığı süzgeç parametreleri

“Ortanca Bulanıklığı” süzgeç parametreleri

Önayarlar, Girdi Türü, Kırpma, Harmanlama Seçenekleri, Ön izleme, Süzgeci birleştir, Bölünmüş görünüm
[Not] Not

Bu seçenekler şurada açıklanmıştır: Kısım 2, “Ortak Özellikler”.

Komşuluk

Komşuluk şekli. Üç seçenek şunlardır: Kare, Daire (öntanımlı), Karo. Farkları çok hassastır ve tahmin edilemez: deneyebilirsiniz, tuvalde denetimler bunu kolaylaştırır.

Şekil 17.20. Ortanca Komşuluk

“Ortanca” Komşuluk

Yarıçap=3. Sol: Kare.

Orta: Daire. Sağ: Karo.


Yarıçap

The radius of the neighborhood. Increasing radius increases blur. Contrary to the Gaussian filter, edges are not blurred. Corners are rounded and convex surfaces are eroded.

Şekil 17.21. Ortanca bulanıklığı ile Gaussian bulanıklığı karşılaştırması

“Ortanca” bulanıklığı ile “Gaussian” bulanıklığı karşılaştırması

Sol: Özgün görüntü

Orta: Ortanca Bulanıklığı süzgeci uygulandı

Sağ: Gaussian Bulanıklığı süzgeci uygulandı


Yarıçapı çok artırmak istenmeyen etkiler oluşturabilir:

Sol: Köken

Sağ: Yarıçap=100

Yüzde

By default, the Median Blur filter finds the median value at the neighborhood of each pixel. In spite of its name, the filter can actually find *any* arbitrary percentile, not just the median (i.e., the 50th percentile). The "Percentile" parameter controls the percentile used for the color components. Lower values shift the image toward darker tones and higher values toward brighter ones.

Sol: Köken

Middle: Percentile=0. Image is darker. Stems are enlarged but sharp.

Right: Percentile=100. Image is brighter and much blurred.

Alpha percentile

To see the effect of this parameter, you need an image with transparency. If the alpha channel is opaque everywhere, the result will also be fully opaque, regardless of the percentile.

Lower values for the Alpha percentile parameter shift the image toward more transparency, and higher values shift the image toward more opacity, where a value of 50% is balanced. Roughly speaking, values less than 50% make the opaque regions of the image smaller, while values greater than 50% make the opaque regions of the image larger.

Left: Origin. The image has an alpha channel. A circle is transparent.

Orta: Yüzde=%0. Saydam daire büyütülmüştür.

Sağ: Alfa yüzde=%100. Saydam daire küçültülmüştür.

Uçurum ilkesi

Uçurum ilkesi (sınır yönetimi) şurada ele alınmıştır: Abyss policy.

Yüksek hassasiyet

Bu seçenek kırpma ve niceleme işlemlerini önler ancak daha yavaştır.

3.6.4. Ortanca Bulanıklığı Kullanma

Tuz ve biber gürültüsünü azaltma

Sol: özgün

Orta: yarıçap = 1 iki kez uygulandı

Sağ: yarıçap = 1 üç kez uygulandı

Çizikleri azaltılma

Sol: özgün

Orta: yarıçap = 2

Sağ: yarıçap = 1 iki kez uygulandı. Görüntü daha az bulanık.