Pyramid

create_pyramidal_img

def create_pyramidal_img(img_path, save_dir):

“”” Convert normal image to pyramidal image.

“”“

load_wsi_head

def load_wsi_head(wsi_img_path):

“”” Load the header meta data of whole slide pyramidal image.

“”“

load_wsi_level_img

def load_wsi_level_img(wsi_img_path, level=0):

“”” Load the image from specified level of the whole slide image.

“”“