components.deinterlace.weston3field

class Weston3Field(config={}, **kwds)[source]

Bases: Component

‘Weston 3-field’ interlace to sequential converter.

This improves on the image quality of simple vertical filtering by taking high vertical frequencies from adjacent fields. It is probably as good as you can get without motion compensation or other complicated techniques.

The mode config selects one of two filter sizes. Mode 0 has a vertical aperture of 5 lines, mode 1 has a vertical aperture of 9 lines.

Config

mode

int

Filtering mode. Can be set to 0 or 1.

topfirst

bool

Top field first.


Comments or questions? Please email jim@jim-easterbrook.me.uk.