Algorithms for the virtualization of biological samples in the context of slide-based light microscopy