sampleutils is an image resampling, filtering, and utility library for Processing.
Note: This is a WIP; I'm cobbling together this library from various functions and utility scripts I've written over the years. First release should be out soon.
- Nearest-neighbor interpolation (no interpolation)
- Bilinear interpolation
- Bicubic interpolation
- Mitchell-Netravali filters (BC-splines)
- Lanczos resampling
- EXX2 upscaling
- Poisson disk generation
- Sunflower disk generation
- Circular medioid blurring
- Inversion
- Kernel filters (convolutions)
- Bivariate Gaussian blurs
- Box filtering
- Gaussian fitlering
- Faster convolutions (use frequency space)
- CNN-based/DLSS-style upscaling (probably beyond project scope)
- Unsharp masking / local contrast enhancement
- Tone mapping
- Gamut Masking / clipping
- Dithered curve adjustment
- Component extraction
- Saturation/luma/chromaticity, etc.
- LUT extraction from image pairs
- Error diffusion matrix-based methods
- Blue noise
- Bayer matrices
- Feature-aware methods