Image quality guided smart rotation improves coverage in microscopy