Interface IInterpolator
Provides a means to implement interpolation for image convolution operations
Namespace: PhotoSauce.MagicScaler.Interpolators
Assembly: PhotoSauce.MagicScaler.dll
Syntax
public interface IInterpolator
Properties
Support
The maximum distance from the origin for which the GetValue(Double) method returns a non-zero value.
Declaration
double Support { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
GetValue(Double)
Calculates the value at a given distance from the origin.
Declaration
double GetValue(double distance)
Parameters
Type | Name | Description |
---|---|---|
System.Double | distance | The absolute value of the distance from the origin. |
Returns
Type | Description |
---|---|
System.Double | The value at the specified distance. |