← f_ notebook · Mirrors · Color / Tone

f_crossover, live ​

Splits the image into low, mid and high spatial-frequency bands, like an audio crossover, and lets you gain each band.

The cell below steps the NumPy mirror that f_crossover's tests are written against, in your browser. It is the NumPy mirror, not the Max patch, and it is not claimed to match the patch bit for bit.

f_crossover · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • low x sets the low/mid crossover in cycles per frame width (stripes at that count split half and half).
  • high x sets the mid/high crossover in the same units; it must exceed low x for a nonempty mid band.
  • low is the gain on the low band: 1 unchanged, 0 removed, 4 four times.
  • mid is the gain on the mid band.
  • high is the gain on the high band.
  • mode picks the composite: split is the plain sum (equals the input at gain 1), eq is the gained sum clamped to 0 to 1.
  • norm on adds 0.5 to the mid and high bands so their negative half survives display.
  • view selects what is shown: the composite, one band, or all three at once (low red, mid green, high blue).
  • Input select: pick the image the crossover splits (bars, rings, noise, moving, gradient).

reference doc · patcher · crossover_mirror.py

← Channel GraderDynamics →