Computational methods for microfluidic microscopy and phase-space imaging