Esempio n. 1
0
def run_script():
    """Function to be run when this file is used as a script"""
    images = tools.get_images()
    if not images:
        return
    elif len(images) >= 2:
        corrected_stack = drift.get_corrected_stack(images, "SIFT")
        corrected_stack.copyScale(images[0])
        corrected_stack.show()
def run_script():
    '''Function to be run when this file is used as a script'''
    images = tools.get_images()
    if not images:
        return
    elif len(images) >= 2:
        corrected_stack = drift.get_corrected_stack_linear(images, 'CC')
        corrected_stack.copyScale(images[0])
        corrected_stack.show()