D
D
Dmitry Korolev2018-05-28 17:45:29
Unity
Dmitry Korolev, 2018-05-28 17:45:29

How to choose a background color for an image?

5b0c157fcde60485076952.png
you need to dynamically select a color for the background of the image
, let's say you found brightness and saturation at which hue are all pleasing to the eye, how to choose to sort through hue in the code?
How can I define such a hue from the atmospheric light of an image so that it looks like ambilight?
how to implement something like this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Korolev, 2018-05-28
@adressmoeistranici

you sit and do not believe that you need to get the average RG and B around the perimeter, convert to HSV, set s and v, and then convert to rgb

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question