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

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...