Skip to content

Add Darken Slight Gradients Video Import filter - #22

Merged
TeamSPoon merged 1 commit into
mainfrom
copilot/integrate-darkenfilter
Sep 9, 2026
Merged

TeamSPoon merged 1 commit into
mainfrom
copilot/integrate-darkenfilter

Conversation

@TeamSPoon

Copy link
Copy Markdown
Member

New first-class Filters registry skill (NumPy+Pillow only): one deterministic non-cascading pass flattens faint gradients by adopting the darkest slightly-darker, colour-similar 8-neighbour, without crossing real colour edges. Available in Frames & Filters and to the future Preprocessing stack. 10 tests.

Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com

New first-class Filters registry skill (skill:darken_light_gradients), NumPy+Pillow only. One deterministic non-cascading pass reads an immutable snapshot and replaces each non-transparent pixel with the exact RGBA of its darkest 8-neighbour that is strictly but only slightly darker (maxLightnessDelta, default 16) and colour-similar (maxChromaDelta, default 32), flattening faint gradients without crossing real colour edges; edges use in-bounds neighbours only; alpha preserved; repeat as a stack step for more passes. Visible in Frames & Filters and available to the future Preprocessing stack via the same registry/materialization/provenance. 10 tests cover flat/eight-directions/threshold/darkest/colour-edge/alpha/no-cascade/tiny/determinism/registry.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@TeamSPoon
TeamSPoon merged commit 555a708 into main Sep 9, 2026
1 check failed
@TeamSPoon
TeamSPoon deleted the copilot/integrate-darkenfilter branch September 9, 2026 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant