Represents the algorithm type used in resizing the image.
public enum ResizeInterpolateCommandTypePublic Enum ResizeInterpolateCommandTypepublic enum ResizeInterpolateCommandTypetypedef NS_ENUM(NSInteger, LTResizeInterpolateCommandType)public enum ResizeInterpolateCommandTypeLeadtools.ImageProcessing.Core.ResizeInterpolateCommandType = function() { };Leadtools.ImageProcessing.Core.ResizeInterpolateCommandType.prototype = {Normal = 0,Resample = 2,Bicubic = 4,Triangle = 5,Hermite = 6,Bell = 7,QuadraticBSpline = 8,CubicBSpline = 9,BoxFilter = 10,Lanczos = 11,Michell = 12,Cosine = 13,Catrom = 14,Quadratic = 15,CubicConvolution = 16,Bilinear = 17,Bresenham = 18,};
public enum class ResizeInterpolateCommandTypeMembers
| Value | Member | Description |
|---|---|---|
| 0 | Normal | This is the fastest one. Not recommended at all, because aliasing is present everywhere. |
| 2 | Resample | Use linear interpolation and averaging to produce a higher-quality image. |
| 4 | Bicubic | Bicubic interpolation and averaging produces a high quality image. This is slower than ResizeInterpolateCommandType.Bilinear. |
| 5 | Triangle | Triangular-peaked weighting average produces a high quality image. |
| 6 | 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. |
| 7 | 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. |
| 8 | 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. |
| 9 | 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. |
| 10 | BoxFilter | Equivalent to Nearest Neighbor on upsampling, averages pixels on downsampling, gives best result for images with single pixels lines. |
| 11 | Lanczos | Lanczos interpolation that uses Sinc (sinx/x) to produce a high quality image. Provides the best quality but it's rather slow. |
| 12 | 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. |
| 13 | Cosine | Uses the Cosine function in the interpolation to produce a good quality image. |
| 14 | Catrom | CatmullRom interpolation produces a high quality image. Slower than ResizeInterpolateCommandType.Bicubic, but faster than ResizeInterpolateCommandType.Lanczos. |
| 15 | Quadratic | Quadratic interpolation produces a high quality image, but less than ResizeInterpolateCommandType.Bilinear. Slower than ResizeInterpolateCommandType.Bicubic. |
| 16 | CubicConvolution | Interpolation to produce high quality image (enhances the image edges). Slower than ResizeInterpolateCommandType.Bicubic. |
| 17 | Bilinear | Bilinear interpolation and averaging produces a high-quality image. It is fast but slower than ResizeInterpolateCommandType.Normal and ResizeInterpolateCommandType.Bresenham. |
| 18 | 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. |
|
Products |
Support |
Feedback: ResizeInterpolateCommandType Enumeration - Leadtools.ImageProcessing.Core |
Introduction |
Help Version 19.0.2017.3.21
|

Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.