• person rss_feed

    micro’s feed

    Blog

    • chevron_right

      Contact publication

      micro · Sunday, 25 February - 07:28 · 5 visibility

    K-Means with OpenCL
    • link

      K-Means with OpenCL

      This is a little tutorial for implementing k-means algorithm in opencl for creating image palette. OpenCL is used (if enabled) by photon for quick image scaling and creating a paletted image so it can be quickly transformed to sixel data. K-means can be used to find k clusters of data, generally vectors. If we use the pixel colors of the image as a set of vectors, we can find k colors that represent the reduced palette of the image.

    hello just testing this thing