Extract Color Themes from Images
import numpy as np
pixData = np.array([[R, G, B], [R, G, B],...], dtype=np.uint8)
print(pixData.shape)
# (h, w, d)
from ict.MMCQ import MMCQ
mmcq = MMCQ(pixData, maxColor)
theme= mmcq.quantize()
from ict.KMeans import KMeans
km = KMeans(pixData, maxColor)
theme = km.quantize()