Looking for faster area sampling downscaling...

asked 2017-09-20 09:08:56 -0500

I am scaling a 1280x720px image down to about 20x11 grayscale for analysis of the pixel values. I find that scaling with INTER_AREA provides the best results in terms of stability of the values (lack of jitter/flicker) but is about 10x slower than the next nearest competitor (INTER_LANCZOS4). Just wondering if anyone has any ideas on alternatives that might yield results between these two. The other interpolation options (neartest, linear, cubic) perform faster but provide worse results for this case.

edit retag flag offensive close merge delete