darktable icon indicating copy to clipboard operation
darktable copied to clipboard

Cellular automata / gradient filter

Open yaitskov opened this issue 2 years ago • 1 comments

Hi,

I think I hit the limit of parametric and drawn filters while working on a photo with long black hair dyed in blond overlapping with body skin and black rock as background. I wanted to recolor (shift hue) of hair and body into separate colors and don't touch background.

After scratching my head I came up with following filters.

A gradient parametric filter gets an initial point color or range to start with plus another set of sliders for every channel (hue, chroma, etc), but these sliders describe relative difference between adjacent pixels (gradient) instead of absolute values.

Cellular automata filter: list of rules for neighbor pixels deciding whether the pixel is covered by filter.

The filter rule is:

  • a tuple of parametric filter or gradient one, and min/max number of pixels at the distance from current point, satisfying the filter.
  • AND/OR/NOT/XOR expression with filter rules as operands

yaitskov avatar Aug 13 '22 16:08 yaitskov

This issue did not get any activity in the past 60 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Oct 13 '22 00:10 github-actions[bot]

This issue was closed because it has been inactive for 300 days since being marked as stale. Please check if the newest release or nightly build has it fixed. Please, create a new issue if the issue is not fixed.

github-actions[bot] avatar Aug 10 '23 00:08 github-actions[bot]