Computer Optimized Microscopy