The microfluidic devices are imaged on a Leica DMi8 microscope after each flow test to measure the positions and dimensions of each clog. The area of the channels is divided into several smaller regions, each covering an area of ∼2.5 mm by ∼2.5 mm. Images of these regions are tiled and processed to eliminate noise before analysis using a custom routine written in MATLAB.