To downsample ndpi or svs images to 10x, 5x, and 1x tifs, use this function: create_downsampled_tif_images or try Openslide in python To calculate registration...