Jump to content

OpenCV: Difference between revisions

4 bytes added ,  13 April 2022
Line 116: Line 116:
* INTER_LANCZOS4
* INTER_LANCZOS4


For downscaling, use `INTER_AREA` to avoid aliasing. However, `INTER_NEAREST` will give the the optimal speed.
For downscaling, use `INTER_AREA` to avoid aliasing. However, `INTER_NEAREST` will give the the optimal speed.<br>
For upscaling, use `INTER_CUBIC` for best results or `INTER_LINEAR` for best performance.
For upscaling, use `INTER_CUBIC` for best results or `INTER_LINEAR` for best performance.