Packagede.popforge.imageprocessing.geom.interpolation
Classpublic final class Interpolation

The Interpolation class is an enumeration of constant values that indicate which interpolation to use: bicubic, bilinear, linear, or nearest neighbour.



Public Constants
 ConstantDefined by
  BICUBIC : Class
[static] The bicubic interpolation.
Interpolation
  BILINEAR : Class
[static] The bilinear interpolation.
Interpolation
  LINEAR : Class
[static] The linear interpolation (equals no interpolation).
Interpolation
  NEAREST_NEIGHBOUR : Class
[static] The nearest neighbour interpolation.
Interpolation
Constant detail
BICUBICconstant
public static const BICUBIC:Class

The bicubic interpolation. Bicubic interpolation is compared to the other interpolations very expensive when it comes to performance.

BILINEARconstant 
public static const BILINEAR:Class

The bilinear interpolation. Bilinear interpolation will result in a smooth effect and does not cost as much performance as the bicubic interpolation.

LINEARconstant 
public static const LINEAR:Class

The linear interpolation (equals no interpolation). Linear interpolation does not change anything. In theory this interpolation (that is no interpolation) should never be used.

NEAREST_NEIGHBOURconstant 
public static const NEAREST_NEIGHBOUR:Class

The nearest neighbour interpolation. Nearest neighbour interpolation is after the linear interpolation the cheapest interpolation. It will just find and return the nearest neighbour of the given position and return it. The good thing is that this interpolation can be used to zoom into pictures without smoothing it.