3 ms·
Opencv does use linear interpolation by default. What you'd need to do is to use something that helps against aliasing, for example first blurring the image wit
by tsbinz 6y ago
Opencv does use linear interpolation by default. What you'd need to do is to use something that helps against aliasing, for example first blurring the image with a kernel of the appropriate size or to use a scaling method like opencv's INTER_AREA.
- steerablesafe 6y agoWhat actually helps here is to use linear colorspace for downscaling and to correctly detect the source image's colorspace.
- tsbinz 6y agoColorspaces are an issue with scaling/averaging, but it's not what's happening here.