diff options
| author | gtoderici <gtoderici@users.noreply.github.com> | 2016-10-12 17:26:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-12 17:26:22 -0700 |
| commit | b98313851963e9b0a92825e37f1722fedf07067b (patch) | |
| tree | 1ccdce8bb5484bb855f6b552d874d8394f40b797 /video_input | |
| parent | 4524885253aafb9928e0859fb1505ce9c22ab06c (diff) | |
Change interpolation method from bicubic to area.
Change interpolation method from bicubic to area. This is necessary because when downsizing high resolution images, the bicubic algorithm generates high frequency noise (for example, try resizing an image containing gravel with bicubic vs. area).
I guess ideally there should be a check to determine whether it's upsampling/downsampling and choose Lanczos for upsampling. However, given how slow this is... maybe we only need to worry about downsampling?
Diffstat (limited to 'video_input')
0 files changed, 0 insertions, 0 deletions
