LEADTOOLS Workflow Image Processing (Leadtools.Workflow.ImageProcessing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ResizeInterpolateCommandType Enumeration
See Also  
Leadtools.Workflow.ImageProcessing Namespace : ResizeInterpolateCommandType Enumeration



The ResizeInterpolateCommandType Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Represents the algorithm type used in resizing the image.

Syntax

Visual Basic (Declaration) 
Public Enum ResizeInterpolateCommandType 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As ResizeInterpolateCommandType
C# 
public enum ResizeInterpolateCommandType : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class ResizeInterpolateCommandType : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
BellUse 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.
BicubicUse Bicubic interpolation and averaging to produce a high quality image. This is slower than ResizeInterpolateCommandType.Bilinear.
BilinearUse Bilinear interpolation and averaging to produce a high-quality image. It is fast but slower than ResizeInterpolateCommandType.Normal and ResizeInterpolateCommandType.Bresenham.
BoxFilterUse 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.
BresenhamUse 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.
CatromUse CatmullRom interpolation to produce a high quality image. It is slower than ResizeInterpolateCommandType.Bicubic, but faster than ResizeInterpolateCommandType.Lanczos.
CosineUse the Cosine function in the interpolation to produce a good quality image.
CubicBSplineUse 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.
CubicConvolutionUse Cubic Convolution interpolation to produce high quality image (enhances the image edges). It is slower than ResizeInterpolateCommandType.Bicubic.
HermiteUse 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.
LanczosUse Lanczos interpolation that uses Sinc (sinx/x) to produce a high quality image. Provides the best quality but it is rather slow.
MichellUse 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.
NormalUse Normal resizing. This is the fastest one. Not recommended at all, because aliasing is present everywhere.
QuadraticUse Quadratic interpolation to produce a high quality image, but not as good as ResizeInterpolateCommandType.Bilinear. It is slower than ResizeInterpolateCommandType.Bicubic.
QuadraticBSplineUse 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.
ResampleUse linear interpolation and averaging to produce a higher-quality image.
TriangleUse Triangular-peaked weighting average to produce a high quality image.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Workflow.ImageProcessing.ResizeInterpolateCommandType

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Workflow.ImageProcessing requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features