Function to generate PreParams from bead, shade, and darkfield images