PHP Класс Horde_Image_Effect_Gd_Unsharpmask, horde

Unsharp mask algorithm by Torstein Hønsi 2003 From: http://www.vikjavev.com/hovudsida/umtestside.php
Наследование: extends Horde_Image_Effect
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_params array In general, radius should be roughly output dpi / 150. So for display purposes a radius of 0.5 is suggested. - amount: (float) Amount of the difference between original and the blur image that gets added back to the original. Can be thought of as the "strength" of the effect. Too high may cause blocking of shadows and highlights. Given a decimal value indicating percentage, e.g. 1.2 = 120% - threshold: (float) Determines how large the brightness delta between adjacent pixels needs to be to sharpen the edge. Larger values == less sharpening. Useful for preventing noisy images from being oversharpened.

Открытые методы

Метод Описание
apply ( ) Applies the effect.

Описание методов

apply() публичный Метод

Applies the effect.
public apply ( )

Описание свойств

$_params защищенное свойство

In general, radius should be roughly output dpi / 150. So for display purposes a radius of 0.5 is suggested. - amount: (float) Amount of the difference between original and the blur image that gets added back to the original. Can be thought of as the "strength" of the effect. Too high may cause blocking of shadows and highlights. Given a decimal value indicating percentage, e.g. 1.2 = 120% - threshold: (float) Determines how large the brightness delta between adjacent pixels needs to be to sharpen the edge. Larger values == less sharpening. Useful for preventing noisy images from being oversharpened.
protected array $_params
Результат array