segmentation_functions.py
def calculateRatio(levelDims):
    """ Calculates the ratio between the highest resolution image and lowest resolution image.
    Returns the ratio as a tuple (Xratio, Yratio). 
    """
    highestReso = np.asarray(levelDims[0])
    lowestReso = np.asarray(levelDims[-1])
    Xratio, Yratio = highestReso/lowestReso
    return (Xratio, Yratio)
 Calculates the ratio between the highest resolution image and lowest resolution image.
    Returns the ratio as a tuple (Xratio, Yratio). 
    
Calculates the ratio between the highest resolution image and lowest resolution image.
Returns the ratio as a tuple (Xratio, Yratio).
Calculates the ratio between the highest resolution image and lowest resolution image . Returns the ratio as a tuple ( Xratio Yratio ) .
def calculateRatio(levelDims):
    highestReso = np.asarray(levelDims[0])
    lowestReso = np.asarray(levelDims[-1])
    Xratio, Yratio = highestReso/lowestReso
    return (Xratio, Yratio)
def calculateRatio ( levelDims ) : highestReso = np . asarray ( levelDims [ 0 ] ) lowestReso = np . asarray ( levelDims [ - 1 ] ) Xratio , Yratio = highestReso / lowestReso return ( Xratio , Yratio )
Calculates the ratio between the highest resolution image and lowest resolution image.
Calculates the ratio between the highest resolution image and lowest resolution image .
""" Calculates the ratio between the highest resolution image and lowest resolution image.
    Returns the ratio as a tuple (Xratio, Yratio). 
    """
levelDims