The ResizeInterpolateCommandType Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Represents the algorithm type used in resizing the image.Visual Basic (Declaration) | |
---|---|
<DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="ResizeInterpolateCommandType")> Public Enum ResizeInterpolateCommandType Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ResizeInterpolateCommandType |
C# | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="ResizeInterpolateCommandType")] public enum ResizeInterpolateCommandType : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="ResizeInterpolateCommandType")] public enum class ResizeInterpolateCommandType : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Bell | Bell interpolation to produces a high quality .This filter blurs the image and at the same time it resizes if you want a performance similar to bicubic filtering, but your source image is noisy, then try this on. |
Bicubic | Bicubic interpolation and averaging produces a high quality image. This is slower than ResizeInterpolateCommandType.Bilinear. |
Bilinear | Bilinear interpolation and averaging produces a high-quality image. It is fast but slower than ResizeInterpolateCommandType.Normal and ResizeInterpolateCommandType.Bresenham. |
BoxFilter | Equivalent to Nearest Neighbor on upsampling, averages pixels on downsampling, gives best result for images with single pixels lines. |
Bresenham | Bresenham interpolation and averaging produces a good quality image(better than ResizeInterpolateCommandType.Normal). This is Slower than ResizeInterpolateCommandType.Normal but faster than ResizeInterpolateCommandType.Bilinear. |
Catrom | CatmullRom interpolation produces a high quality image. Slower than ResizeInterpolateCommandType.Bicubic, but faster than ResizeInterpolateCommandType.Lanczos. |
Cosine | Uses the Cosine function in the interpolation to produce a good quality image. |
CubicBSpline | Cubic B-Spline interpolation produces a very smooth quality image(most blurry). One step further from ResizeInterpolateCommandType.Bell. A bit slower and more blurred image, but less noisy and less sharp). This is faster than ResizeInterpolateCommandType.Bicubic. |
CubicConvolution | Interpolation to produce high quality image (enhances the image edges). Slower than ResizeInterpolateCommandType.Bicubic. |
Hermite | Hermite interpolation produces a good quality image better than ResizeInterpolateCommandType.Bresenham but less than ResizeInterpolateCommandType.Bilinear. It uses the cubic spline from Hermite interpolation. This is Slower than ResizeInterpolateCommandType.Bilinear. |
Lanczos | Lanczos interpolation that uses Sinc (sinx/x) to produce a high quality image. Provides the best quality but it's rather slow. |
Michell | Michel interpolation produces a smooth quality image but less than ResizeInterpolateCommandType.Bell. A bit slower and more blurred image, but less noisy and less sharp. This is faster than ResizeInterpolateCommandType.QuadraticBSpline. This is Slower than ResizeInterpolateCommandType.Bell. A bit slower and more blurred image, but less noisy and less sharp. This is slower than ResizeInterpolateCommandType.Bicubic. |
Normal | This is the fastest one. Not recommended, because aliasing is present everywhere. |
Quadratic | Quadratic interpolation produces a high quality image, but less than ResizeInterpolateCommandType.Bilinear. Slower than ResizeInterpolateCommandType.Bicubic. |
QuadraticBSpline | Quadratic B-Spline interpolation produces a smooth quality image but less than ResizeInterpolateCommandType.CubicBSpline. This is Faster than ResizeInterpolateCommandType.Bicubic but less than ResizeInterpolateCommandType.CubicBSpline. |
Resample | Use linear interpolation and averaging to produce a higher-quality image. |
Triangle | Triangular-peaked weighting average produces a high quality image. |
System.Object
System.ValueType
System.Enum
Leadtools.Services.ImageProcessing.DataContracts.ResizeInterpolateCommandType
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7