deinterlacing.parameters module

class deinterlacing.parameters.DeinterlaceParameters(*args, **kwargs)[source]

Bases: object

DeinterlaceParameters encapsulates the parameters utilized in deinterlacing to control the deinterlacing process. The structure also contains validation logic to ensure that the parameters are appropriate for the provided images.

Variables:
  • block_size – f

  • pool – f

  • unstable – f

  • subsearch – f

  • align – f

  • has_turnaround – f

  • null_edges – f

  • use_gpu – f

  • images – f

Parameters:
  • __dataclass_self__ (PydanticDataclass)

  • args (Any)

  • kwargs (Any)

align: Literal['pixel', 'subpixel', 'variable']
block_size: int | None
images: InitVar = None
pool: Literal['mean', 'median', 'std', 'sum', None]
subsearch: int | None
unstable: int | None
use_gpu: bool
validate_with_images(images)[source]

Validate the parameters against the provided images..

Parameters:

images (ndarray) – The images to validate against.

Return type:

None

Returns:

None