ResizeProfileInterpolation

Description

Methods of interpolation during profile resizing.

Values of this enumeration:

  • NearestNeighbour - Nearest corresponding value from input profile is selected as output profile value. This method is strongly optimized for profile sizes which are its multiplicity.
  • Linear - An algorithm, which linearly interpolates between input profiles' values distanced by step, given as \(\frac{newSize}{oldSize}\). Values on that range borders are preserved.

namespace ResizeProfileInterpolation
{
	enum Type
	{
		NearestNeighbour,
		Linear
	};
}