K Pix

Reduced colors

How can we use k-Means to understand and/or manipulate photographic images? Here’s a classic example from the print world: choosing a few perfect inks for poster printing.

In this example, we reduce the mean calculation to just one dimension: the grayscale histogram from a specific photo.

2 min read

Special Ks

Live demo: : Click to Pause/Resume

A follow-on to the last post on k-Means — this time, we use different criteria to determine “closeness” and to adjust where we move things around.

1 min read

Understanding Winogrand, 2017

“Photography is about finding out what can happen in the frame. When you put four edges around some facts, you change those facts.” - Garry Winogrand

~1 min read


Live demo: Click to Pause/Resume

This is the first post in a brief series on simple algorithms I like, either becasue of their simplicty or novelty or usefullness or all three. Each with a live demo. To begin, I introduce a method that more programmers and artists should know about: k-Means Clustering .

2 min read