Leadtools.Workflow.ImageProcessing Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ResizeInterpolateCommandType Enumeration
See Also  
Leadtools.Workflow.ImageProcessing Namespace : ResizeInterpolateCommandType Enumeration



Represents the algorithm type used in resizing the image.

Syntax

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

Members

MemberDescription
Normal Use Normal resizing. This is the fastest one. Not recommended at all, because aliasing is present everywhere.
Resample Use linear interpolation and averaging to produce a higher-quality image.
Bicubic Use Bicubic interpolation and averaging to produce a high quality image. This is slower than ResizeInterpolateCommandType.Bilinear.
Triangle Use Triangular-peaked weighting average to produce a high quality image.
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.
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.
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.
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.
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.
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.
Cosine Use the Cosine function in the interpolation to produce a good quality image.
Catrom Use CatmullRom interpolation to produce a high quality image. It is slower than ResizeInterpolateCommandType.Bicubic, but faster than ResizeInterpolateCommandType.Lanczos.
Quadratic Use Quadratic interpolation to produce a high quality image, but not as good as ResizeInterpolateCommandType.Bilinear. It is slower than ResizeInterpolateCommandType.Bicubic.
CubicConvolution Use Cubic Convolution interpolation to produce high quality image (enhances the image edges). It is slower than ResizeInterpolateCommandType.Bicubic.
Bilinear Use Bilinear interpolation and averaging to produce a high-quality image. It is fast but slower than ResizeInterpolateCommandType.Normal and ResizeInterpolateCommandType.Bresenham.
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.

Inheritance Hierarchy

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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