Métodos para la nitidez de la imagen. Más...
Métodos públicos estáticos | |
static Pix | unsharpMasking (Pix pixs, int halfwidth, float fraction) |
Performs unsharp masking (edge enhancement). | |
Funciones estáticas del 'package' | |
[static initializer] | |
Métodos privados estáticos | |
static native int | nativeUnsharpMasking (int nativePix, int halfwidth, float fract) |
Métodos para la nitidez de la imagen.
Definición en la línea 32 del archivo Enhance.java.
com.googlecode.leptonica.android.Enhance.[static initializer] | ( | ) | [static, package] |
static native int com.googlecode.leptonica.android.Enhance.nativeUnsharpMasking | ( | int | nativePix, |
int | halfwidth, | ||
float | fract | ||
) | [static, private] |
static Pix com.googlecode.leptonica.android.Enhance.unsharpMasking | ( | Pix | pixs, |
int | halfwidth, | ||
float | fraction | ||
) | [static] |
Performs unsharp masking (edge enhancement).
Notes:
halfwidth
parameter for these is (size - 1)/2; i.e., 1, 2, 3, etc. fract
parameter is typically taken in the range: 0.2 < fract
< 0.7 halfwidth | The half-width of the smoothing filter. |
fraction | The fraction of edge to be added back into the source image. |
Definición en la línea 55 del archivo Enhance.java.