mirror of
https://github.com/KrisKennaway/ii-pix.git
synced 2024-06-07 15:46:54 +00:00
Add TODO
This commit is contained in:
parent
12d6805617
commit
1486f8a394
|
@ -268,6 +268,9 @@ class ClusterPalette:
|
||||||
# If the k-means clustering returned fewer than 16 unique colours,
|
# If the k-means clustering returned fewer than 16 unique colours,
|
||||||
# fill out the remainder with the most common pixels colours that
|
# fill out the remainder with the most common pixels colours that
|
||||||
# have not yet been used.
|
# have not yet been used.
|
||||||
|
#
|
||||||
|
# TODO: this seems like an opportunity to do something better -
|
||||||
|
# e.g. forcibly split clusters and iterate the clustering
|
||||||
palette_rgb12_iigs = self._fill_short_palette(
|
palette_rgb12_iigs = self._fill_short_palette(
|
||||||
palette_rgb12_iigs, most_frequent_colours)
|
palette_rgb12_iigs, most_frequent_colours)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user