The ResizeInterpolateCommandType Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Represents the algorithm type used in resizing the image.Visual Basic (Declaration) | |
---|---|
Public Enum ResizeInterpolateCommandType Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ResizeInterpolateCommandType |
C# | |
---|---|
public enum ResizeInterpolateCommandType : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
public enum class ResizeInterpolateCommandType : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
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. |
Bicubic | Use Bicubic interpolation and averaging to produce a high quality image. This is slower than ResizeInterpolateCommandType.Bilinear. |
Bilinear | Use Bilinear interpolation and averaging to produce a high-quality image. It is fast but slower than ResizeInterpolateCommandType.Normal and ResizeInterpolateCommandType.Bresenham. |
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. |
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. |
Catrom | Use CatmullRom interpolation to produce a high quality image. It is slower than ResizeInterpolateCommandType.Bicubic, but faster than ResizeInterpolateCommandType.Lanczos. |
Cosine | Use the Cosine function in the interpolation to produce a good quality image. |
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. |
CubicConvolution | Use Cubic Convolution interpolation to produce high quality image (enhances the image edges). It is slower than ResizeInterpolateCommandType.Bicubic. |
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. |
Lanczos | Use Lanczos interpolation that uses Sinc (sinx/x) to produce a high quality image. Provides the best quality but it is rather slow. |
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. |
Normal | Use Normal resizing. This is the fastest one. Not recommended at all, because aliasing is present everywhere. |
Quadratic | Use Quadratic interpolation to produce a high quality image, but not as good as ResizeInterpolateCommandType.Bilinear. It is slower than ResizeInterpolateCommandType.Bicubic. |
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. |
Resample | Use linear interpolation and averaging to produce a higher-quality image. |
Triangle | Use Triangular-peaked weighting average to produce a high quality image. |
System.Object
System.ValueType
System.Enum
Leadtools.Workflow.ImageProcessing.ResizeInterpolateCommandType
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7