News for hackers. Stuff that matters.
Re:Pillow-SIMD – Fast, production-ready image resize for x86 by jacobolus on Thursday July 06, 2017 @09:46PM (#14715426)
The better alternatives are all like 50-page papers with worse titles and a lot of math. If you know a nice 5–10-page “modern” summary of how to treat filters for image resampling aimed at a non-specialist audience, please link away. I’ll agree that treating pixels as Gaussians is not especially great.

In practice most images go through multiple layers of processing, physical sensor and display pixels come in all kinds of wacky shapes (and as you point out have channels offset by different amounts, etc.). It’s usually better to treat pixels as point samples for generic intermediate processing because you have no idea what kind of source an image comes from, and you have no idea what someone down the line is going to do with your image before sending a final signal to the display hardware. Creating synthetic images by integrating over little rectangles produces markedly inferior results to applying some real resampling filter to the samples, but gets done by computer games etc. because it’s computationally cheap, with the hope that there are enough pixels moving fast enough that someone won’t notice the artifacts.

Re:Pillow-SIMD – Fast, production-ready image resize for x86 by jacobolus on Friday July 07, 2017 @03:01AM (#14716632)
> The better alternatives ...

e.g. http://hhoppe.com/filtering.pdf

Re:Pillow-SIMD – Fast, production-ready image resize for x86 by a_e_k on Friday July 07, 2017 @03:46AM (#14716785)
The "Sampling and Reconstruction" chapter from PBRT is also pretty good. The authors have placed the 1st-edition version online as a sample chapter: http://www.pbrt.org/chapters/pbrt_chapter7.pdf