def getAltoMaximo(vim):
    """ A function to determine the maximun height of a vector of matrixes.
    
    Parameters
    ----------
    vim : array_like
        An array of images. Each image is represented as a matrix.

    Returns
    -------
    type
        int
    
    """
    altoMaximo = 0
    for im in vim:
        alto, ancho, pro = im.shape
        if  alto > altoMaximo:
            altoMaximo = alto
    return altoMaximo