Answer the question
In order to leave comments, you need to log in
Picture from pictures. How to do it??
Hello.
Interested in the algorithm for generating an image from pictures or symbols?
Couldn't google(
Please help)
Example:
Answer the question
In order to leave comments, you need to log in
The simplest option ...
1. For each small picture, select a "medium" color.
2. Reduce the original image to M×N px, and in each pixel, instead of a solid color, substitute the picture that best suits the color.
The algorithm can be improved - for example, substitute one of the 10 most suitable ones, and if there are much more than 10 pictures in a radius of, say, 30 units, take them all. And you can also use the Floyd-Steinberg error correction method (the most successful method when translating pictures into N colors)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question