← f_ notebook · Mirrors · Color / Tone

f_separate, live ​

Splits the image into up to three spot-color plates, one per ink, plus a composite of the plates summed.

The cell below steps the NumPy mirror that f_separate'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_separate · NumPy mirror (Pyodide) · not the Max patch
Downloads about 15 MB the first time (Python and NumPy).
  • view shows the composite (the plates summed and clamped) or one ink's plate, colored by that ink.
  • mode sets how each pixel's coverage is decided: unmix is a joint least-squares fit, nearest sends each pixel wholly to the closest ink or black, project solves each ink on its own.
  • inks sets how many of the three inks are active; unused plates are black.
  • gain scales all three inks' coverage before the clamp; above 1 saturates a plate faster without exceeding its ink color.
  • ink 1 hue sets ink 1's color; saturation 1 and lightness 0.5 stay at the module's default.
  • ink 2 hue sets ink 2's color; saturation 1 and lightness 0.3 stay at the module's default.
  • ink 3 hue sets ink 3's color; saturation 1 and lightness 0.5 stay at the module's default.
  • The input selector picks bars (color bands) or rings (concentric color).

reference doc · patcher · separate_mirror.py

← Luma ProcessorLucas Kanade →