deinterlacing.alignment module

deinterlacing.alignment.align_pixels(images, start, stop, offset)[source]
Parameters:
Return type:

None

deinterlacing.alignment.align_subpixels(images, start, stop, offset, fft_module=<module 'numpy' from '/home/docs/checkouts/readthedocs.org/user_builds/deinterlacing/envs/latest/lib/python3.12/site-packages/numpy/__init__.py'>)[source]
Parameters:
  • images (ndarray)

  • start (int)

  • stop (int)

  • offset (float)

  • fft_module (Literal[<module 'numpy' from '/home/docs/checkouts/readthedocs.org/user_builds/deinterlacing/envs/latest/lib/python3.12/site-packages/numpy/__init__.py'>], default: <module 'numpy' from '/home/docs/checkouts/readthedocs.org/user_builds/deinterlacing/envs/latest/lib/python3.12/site-packages/numpy/__init__.py'>)

Return type:

None

deinterlacing.alignment.correct_subpixel_offset(backward_lines, offset, fft_module=<module 'numpy' from '/home/docs/checkouts/readthedocs.org/user_builds/deinterlacing/envs/latest/lib/python3.12/site-packages/numpy/__init__.py'>)[source]
Parameters:
  • backward_lines (ndarray)

  • offset (float)

  • fft_module (Literal[<module 'numpy' from '/home/docs/checkouts/readthedocs.org/user_builds/deinterlacing/envs/latest/lib/python3.12/site-packages/numpy/__init__.py'>], default: <module 'numpy' from '/home/docs/checkouts/readthedocs.org/user_builds/deinterlacing/envs/latest/lib/python3.12/site-packages/numpy/__init__.py'>)

Return type:

None