libvips icon indicating copy to clipboard operation
libvips copied to clipboard

Approximation of K-means clustering?

Open jcupitt opened this issue 3 years ago • 1 comments

Discussed in https://github.com/libvips/libvips/discussions/2840

Originally posted by kipcole9 June 4, 2022 Any advice on a libvips mechanism to do k-means clustering on an image? Basically to identify the most common colours in an image, and the number of pixels that are in that cluster. Similar to Method 3 described here but using libvips only.

jcupitt avatar Jun 04 '22 09:06 jcupitt

Expose the GIF / PNG / etc. quantizer as an operator.

jcupitt avatar Jun 04 '22 09:06 jcupitt

Let's move any discussion to the PR.

jcupitt avatar Oct 28 '22 16:10 jcupitt