C# Class ImageProcessor.Imaging.Interpolation

Provides interpolation routines for resampling algorithms.
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Méthodes publiques

Méthode Description
BiCubicBSplineKernel ( double x ) : double

Returns a bicubic b-spline kernel for the given value. The function implements bicubic kernel developed by Paul Bourke described here

BiCubicKernel ( double x ) : double

Returns a bicubic kernel for the given value. The function implements bicubic kernel W(x) as described on Wikipedia (coefficient a is set to -0.5).

Private Methods

Méthode Description
Clean ( double x ) : double

Ensures that any passed double is correctly rounded to zero

LanczosKernel3 ( double x ) : double

Returns a Lanczos kernel for the given value. The function implements Lanczos kernel as described on Wikipedia

SinC ( double x ) : double

Gets the result of a sine cardinal function for the given value.

Method Details

BiCubicBSplineKernel() public static méthode

Returns a bicubic b-spline kernel for the given value. The function implements bicubic kernel developed by Paul Bourke described here
public static BiCubicBSplineKernel ( double x ) : double
x double X value.
Résultat double

BiCubicKernel() public static méthode

Returns a bicubic kernel for the given value. The function implements bicubic kernel W(x) as described on Wikipedia (coefficient a is set to -0.5).
public static BiCubicKernel ( double x ) : double
x double X value.
Résultat double