Top row (A-C): short bacteria (~4 µm) in a disordered porous medium distribute almost uniformly. Bottom row (D-F): the same strain induced to elongate (~10 µm) accumulates sharply along pillar surfaces, with the density map (F) showing bright bands at concave dead-end regions where long cells become stuck. The contrast suggests a passive filter that sorts cells by length and shape.
