Documentation
|
|
Enlarge or shrink an image. More...
Modules | |
| resize | |
| The C++ interface for resize. | |
| af_resize | |
| The C interface for resize. | |
Enlarge or shrink an image.
The resize function scales an image up or down based on a constant scaling factor or an explicit new size. resize provides two methods for this operation, nearest neighbor interpolation and bilinear interpolation.
The following examples illustrate the difference between the two types of interpolation: