O
O
Oleg2018-09-04 15:08:16
Algorithms
Oleg, 2018-09-04 15:08:16

Where can I find algorithms for converting color into pattern fill options?

Needed for printing, when the dot can only be black or white.
The classic (we reduce the resolution of the image by 2 times and now we have 4 shades of gray) is not suitable.
There are relatively large areas of the same color in the image.
76f8f83e-2e2c-47f3-9122-dba2e07a378c.gif
I want them to be, for example, shaded inside in different directions, with different fill patterns.
For example, as in the picture below, different sizes of circles and the distance between them.
images?q=tbn:ANd9GcSZeMvqNSIbU52YpoXVJwy
I am clarifying. At the entrance is a color picture. Those. at least poke your nose at a good algorithm for finding the boundaries of adjacent areas.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg, 2019-02-16
@402d

Not what I was looking for. The patterns didn't work.
Used dithering.
Image Dithering: Eleven Algorithms and Source Code
www.tannerhelland.com/4660/dithering-eleven-algori...

G
GavriKos, 2018-09-04
@GavriKos

It seems to me that this particular picture can be translated into HSL, find areas by H, and then segment your fills using the same H. You can check in which thread of the graphic editor - poke a pipette into different areas of the same segment and see if the Hue will be different in HSL space.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question