Skip to content

Experiment with feature-biased color selection #6

@gennyble

Description

@gennyble

Preserving edges would be nice, so here's the idea?

  • optionally downscale the image some. 1/2 or 1/4, maybe, to save compute and memory.
  • edge deteciton (wikipedia: Canny Edge Detection)
  • optionally slightly blur the edge-image so we can get some colours around the edge? experiment here.
  • consider colours only on the edge. if we blurred then perhaps we can use the grey value to further bias our selection. we could compute some kind of score where we sum the gray values where the colour is (normalized 0-1).

i don't know how this'll work it's just an idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions