Gallery
Instagram
Flickr
Pinterest
DaveCOLLIER
DevelopmentPages
Auto-Colour Between Edges
Two input files, an original and a converted file from my Edge Detect By Lines page. Auto-fills between the lines of the edge-detection file.
Description
Auto-Colour Between Edges The colour that is filled-in is a closest match to one of the colours that has been selected on this page, matched by brightness, saturation or hue.
The match is from a row of pixels between the detected lines, for a brightness or saturation match that is on mean, median or mode average or maximum, for hue match it is on mode average.
Original image:
or image url apply
Edge detection image:
or image url apply
Use only original image (if checked will have the effect of treating every non-transparent pixel on the original as an edge)
-% done - patience! large files can take a while. 
......
This page requires a HTML5 browser and Javascript switched on.
Formula for calculating brightness:
Download Settings
Load Saved Settings File:
Paint Result
Number of colours
Reset colours on number change
brightnesses from photo frequency
even out brightnesses
COLOURS : (use colour picker to change checked colour)
= revert to previous = revert to auto-set
Match by
Brightness
Saturation
Hue
Match Average
Mean
Median
Max. Occurrence
Maximum Value
Image Rendering:
Auto
Crisp Edges
Smooth
High Quality
Pixellated
Image rendering is controlled via CSS. The options are CSS image-rendering variables, some of them produce identical results to others in some cases.
Image Smoothing Enabled on Paint