voelin-media: say how the background mask is really sampled
The segment docs promised a bilinear, feathered mask; the frame path samples the nearest mask pixel and relies on the mask's own soft edge. Say so, here and in docs/studio.md, rather than promise a smoothing that is not there: a model's sharper mask will want it, and that is the place to add it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c41624e82d
commit
979fdced2c
2 files changed
+6
-4
No files matched your search
+2
-1
@@ -115,7 +115,8 @@ Anything but `keep` runs a `BackgroundFilter` on the source's own thread: the
|
||||
segmenter gets a copy reduced to 256 pixels wide on a thread of its own and
|
||||
makes a mask at 10 fps (a mask a few frames old is still right, and
|
||||
segmentation costs far more than a frame); the frame path takes the newest
|
||||
mask latest-wins, samples it up and mixes the subject over the backdrop. The
|
||||
mask latest-wins, samples it up (nearest; the edge is only as soft as the
|
||||
mask's own) and mixes the subject over the backdrop. The
|
||||
blur is a three-pass box blur (close to a Gaussian), separable, with a
|
||||
running sum so its cost does not grow with the radius, in bands on a worker
|
||||
pool over pooled buffers.
|
||||
|
||||
Reference in new issue
Block a user