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

Misc Javascript points

 Nodejs can support multithreading through use of promises _ is the numeric separator for javascript, that means the numbers 10_000, 11.23_0...