The size and shape of particles in activated sludge are important parameters that are measured using varying methods. Inaccuracies arise from non-representative sampling, suboptimal images, and subjective analysis parameters. To minimize these errors and ease measurement, we present a protocol specifying every step, including an open source software pipeline.