Module movemeter.stabilize

Stabilizing a video or a image stack using Movemeter.

Functions

def main()
def stabilize(input_fn, roi, output_fn, mediary_fn=None, upscaling=None, final_upscaling=None, movemeter_settings=None)

Runs stabilization on two passes: First on rotation, then on XY.

Arguments

input_fn : string
 
roi : tuple
 
output_fn : string
 
mediary_fn : string or tuple
 
def stabilize_rot(input_fn, roi, output_fn, mediary_fn=None, upscaling=None, final_upscaling=None)

Writers a stabilized video file on disk.

def stabilize_xy(input_fn, roi, output_fn, mediary_fn=None, upscaling=None, final_upscaling=None)

Writes a stabilized video file on disk.

input_fn : string Input file name roi : tuple (x,y,w,h) output_fn : string Output file name