Tuesday, May 11, 2021

Interpolation methods of image resizing


When images are resized to a larger size from originally smaller size, some new data needs to be generated. Interpolation is used to generate new data. 


There are two types of interpolation methods : adaptive and non-adaptive. All the adaptive methods are licensed. 


Non-adaptive methods are supported by ImageDatasetGenerator. We can set its interpolation method by using the parameter "interpolation". 


The default value of interpolation parameter is bilinear. 

The other supported values are : nearestbicubicarealanczos3lanczos5gaussianmitchellcubic


You can get a good information about interpolation here

No comments:

Post a Comment

 using Microsoft.AspNetCore.Mvc; using System.Xml.Linq; using System.Xml.XPath; //<table class="common-table medium js-table js-stre...