|
|
|
|
|
by rikroots
1404 days ago
|
|
That's an interesting approach! I went a different way, converting each pixel to its LAB color space values to find the optimal palette for the image (based on preference arguments), then afterwards measuring each pixel against the palette colors to find the two closest colors before deciding which of those two colors to pick based on a distance propensity weighting against the semi-random number assigned to that pixel. Coming up with highly efficient algorithms (for anything!) is not my strongest skill. Neither is trying to explain them. |
|