Leadtools.ImageProcessing.Core 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 ResizeInterpolateCommandType : System.IComparable, System.IConvertible, System.IFormattable
enum LTResizeInterpolateCommandType
public enum ResizeInterpolateCommandType
Leadtools.ImageProcessing.Core.ResizeInterpolateCommandType = function() { }; Leadtools.ImageProcessing.Core.ResizeInterpolateCommandType.prototype = {
Normal = 0x00000000, Resample = 0x00000002, Bicubic = 0x00000004, Triangle = 0x00000005, Hermite = 0x00000006, Bell = 0x00000007, QuadraticBSpline = 0x00000008, CubicBSpline = 0x00000009, BoxFilter = 0x0000000A, Lanczos = 0x0000000B, Michell = 0x0000000C, Cosine = 0x0000000D, Catrom = 0x0000000E, Quadratic = 0x0000000F, CubicConvolution = 0x00000010, Bilinear = 0x00000011, Bresenham = 0x00000012, };
public enum class ResizeInterpolateCommandType : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | Normal | 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 | Bicubic interpolation and averaging produces a high quality image. This is slower than ResizeInterpolateCommandType.Bilinear. |
0x00000005 | Triangle | Triangular-peaked weighting average produces a high quality image. |
0x00000006 | 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. |
0x00000007 | 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 one. |
0x00000008 | 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. |
0x00000009 | 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 though). This is faster than ResizeInterpolateCommandType.Bicubic. |
0x0000000A | BoxFilter | Equivalent to Nearest Neighbor on upsampling, averages pixels on downsampling, gives best result for images with single pixels lines. |
0x0000000B | Lanczos | Lanczos interpolation that uses Sinc (sinx/x) to produce a high quality image. Provides the best quality but it's rather slow. |
0x0000000C | 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 though). 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 though). This is slower than ResizeInterpolateCommandType.Bicubic. |
0x0000000D | Cosine | Uses the Cosine function in the interpolation to produce a good quality image. |
0x0000000E | Catrom | CatmullRom interpolation produces a high quality image. Slower than ResizeInterpolateCommandType.Bicubic, but faster than ResizeInterpolateCommandType.Lanczos. |
0x0000000F | Quadratic | Quadratic interpolation produces a high quality image, but less than ResizeInterpolateCommandType.Bilinear. Slower than ResizeInterpolateCommandType.Bicubic. |
0x00000010 | CubicConvolution | Interpolation to produce high quality image (enhances the image edges). Slower than ResizeInterpolateCommandType.Bicubic. |
0x00000011 | Bilinear | Bilinear interpolation and averaging produces a high-quality image. It is fast but slower than ResizeInterpolateCommandType.Normal and ResizeInterpolateCommandType.Bresenham. |
0x00000012 | 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. |
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.Core.ResizeInterpolateCommandType