def test_laplacian_video():
    orig_vid, fps = load_video_float(TEST_VIDEO_PATH)
    pyramid = create_laplacian_video_pyramid(orig_vid, 3)
    play_pyramid(pyramid)
    recomposed_video = collapse_laplacian_video_pyramid(pyramid)
    assert (recomposed_video == orig_vid).all()
def test_laplacian_video():
    orig_vid, fps = load_video_float(TEST_VIDEO_PATH)
    pyramid = create_laplacian_video_pyramid(orig_vid, 3)
    play_pyramid(pyramid)
    recomposed_video = collapse_laplacian_video_pyramid(pyramid)
    assert (recomposed_video == orig_vid).all()
def test_create_gaussian_video():
    orig_vid, fps = load_video_float(TEST_VIDEO_PATH)
    pyramid = create_gaussian_video_pyramid(orig_vid, 3)
    play_pyramid(pyramid)
def test_create_gaussian_video():
    orig_vid, fps = load_video_float(TEST_VIDEO_PATH)
    pyramid = create_gaussian_video_pyramid(orig_vid, 3)
    play_pyramid(pyramid)