Files
lightcraft/docs
Hoang Pham a51aedcd2d LR-REM-HEAL: process V8 pins Heal to the spot's edge in log space, matches the grain, reads sources at whole pixels
Heal (and Remove's heal) added a Gaussian-weighted average of the
difference between photo and source around the spot, in linear light.
It was not pinned to the photo at the spot's edge: spots on gradients
left a faint disc, dark features near a spot that it doesn't touch
smudged in, texture moved across light kept its absolute amplitude
(blotchy in shadows, flat in highlights), and bilinear reads at
fractional source offsets halved the grain.

Process V8 (docs/process-versions.md), so edited photos keep their look
until Update to Current Process:
- the patch is source * e^P, P the membrane fill (inpaint::membrane_fill)
  of the log ratio of photo to source, known only on the ring of pixels
  touching the spot, blurred there over the outside only (1.5 px);
- the source's fine detail is scaled to the detail around the spot
  (ratio of medians, within 0.5 to 2x);
- every spot, Clone included, reads its source at whole pixels;
- the GPU renderer reads the image back for the spot stage on V8 photos
  with spots; V1 to V7 keep the device kernels.

New tests in spots::pinned each also check that the previous heal fails
them; existing spot tests run on both methods; GPU spots_match covers V7
and V8.
2026-11-10 23:32:33 +07:00
..
2026-10-15 03:24:51 -04:00
2026-10-08 20:20:17 +00:00
2026-10-24 22:28:38 +04:00
2026-10-31 02:31:16 +00:00