components.deinterlace.halfsize

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

Bases: pyctools.core.base.Component

Half-sizing interlace to sequential converter.

This simply rearranges each interlaced frame into two frames of half the height. It is no use for viewing pictures but is useful if you want to do some spatial processing, e.g. taking a Fourier transform.

In inverse mode pairs of half-height frames are reassembled into single full height frames.

Config

inverse

bool

topfirst

bool

Top field first.


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