Leadtools.Workflow.ImageProcessing Namespace : ResizeInterpolateCommandType Enumeration |
public enum ResizeInterpolateCommandType : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration Public Enum ResizeInterpolateCommandType Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As ResizeInterpolateCommandType
public enum class ResizeInterpolateCommandType : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | Normal | Use Normal resizing. This is the fastest one. Not recommended at all, because aliasing is present everywhere. |
0x00000002 | Resample | Use linear interpolation and averaging to produce a higher-quality image. |
0x00000004 | Bicubic | Use Bicubic interpolation and averaging to produce a high quality image. This is slower than ResizeInterpolateCommandType.Bilinear. |
0x00000005 | Triangle | Use Triangular-peaked weighting average to produce a high quality image. |
0x00000006 | Hermite | Use Hermite interpolation to produce a good quality image, better than ResizeInterpolateCommandType.Bresenham but not as good as ResizeInterpolateCommandType.Bilinear. It uses the cubic spline from Hermite interpolation. This is slower than ResizeInterpolateCommandType.Bilinear. |
0x00000007 | Bell | Use Bell interpolation to produce a high quality image. This filter blurs the image and at the same time it resizes it. Try this one for performance similar to bicubic filtering when the source image is noisy. |
0x00000008 | QuadraticBSpline | Use Quadratic B-Spline interpolation to produce a smooth quality image but of lower quality than ResizeInterpolateCommandType.CubicBSpline. It is faster than ResizeInterpolateCommandType.Bicubic but slower than ResizeInterpolateCommandType.CubicBSpline. |
0x00000009 | CubicBSpline | Use Cubic B-Spline interpolation to produce a very smooth quality image(most blurry). It is one step further from ResizeInterpolateCommandType.Bell. A bit slower and more blurred image, but less noisy and less sharp though.This is faster than ResizeInterpolateCommandType.Bicubic. |
0x0000000A | BoxFilter | Use Box Filter resizing, which is equivalent to Nearest Neighbor on upsampling. It averages pixels on downsampling. It gives the best result for images with single pixel lines. |
0x0000000B | Lanczos | Use Lanczos interpolation that uses Sinc (sinx/x) to produce a high quality image. Provides the best quality but it is rather slow. |
0x0000000C | Michell | Use Michel interpolation to produce a smooth quality image but not as smooth as ResizeInterpolateCommandType.Bell. It is faster than ResizeInterpolateCommandType.QuadraticBSpline, but slower than ResizeInterpolateCommandType.Bell and ResizeInterpolateCommandType.Bicubic. |
0x0000000D | Cosine | Use the Cosine function in the interpolation to produce a good quality image. |
0x0000000E | Catrom | Use CatmullRom interpolation to produce a high quality image. It is slower than ResizeInterpolateCommandType.Bicubic, but faster than ResizeInterpolateCommandType.Lanczos. |
0x0000000F | Quadratic | Use Quadratic interpolation to produce a high quality image, but not as good as ResizeInterpolateCommandType.Bilinear. It is slower than ResizeInterpolateCommandType.Bicubic. |
0x00000010 | CubicConvolution | Use Cubic Convolution interpolation to produce high quality image (enhances the image edges). It is slower than ResizeInterpolateCommandType.Bicubic. |
0x00000011 | Bilinear | Use Bilinear interpolation and averaging to produce a high-quality image. It is fast but slower than ResizeInterpolateCommandType.Normal and ResizeInterpolateCommandType.Bresenham. |
0x00000012 | Bresenham | Use Bresenham interpolation and averaging to produce a good quality image(better than ResizeInterpolateCommandType.Normal). It is slower than ResizeInterpolateCommandType.Normal but faster than ResizeInterpolateCommandType.Bilinear. |
System.Object
System.ValueType
System.Enum
Leadtools.Workflow.ImageProcessing.ResizeInterpolateCommandType