converters.yuv_from_pgx

Author: Ismael Seidel (ismael.seidel@ufsc.br) Affiliation: Embedded Computing Lab (ECL), Federal University of Santa Catarina (UFSC)

Description:

This module contains the implementation of PGX->YUV conversion.

generate_yuv_from_pgx(raw_light_field_data, yuv_path, scan_order=<function get_serpentine_scan_list>, remove_after_using=False)[source]

Get RAW YUV light field object from RAW PGX light field data.

Parameters:
  • raw_light_field_data (RAWLightFieldData) – RAW PGX light field to be converted

  • yuv_path (Union[str, Path]) – Path to save the YUV files

  • scan_order (ScanFunctionType) – Function defining the scan order

  • remove_after_using (bool) – Whether to remove intermediate files

Returns:

Converted YUV light field data

Return type:

RAW_BT709_FR_YUV444p10le_LightField_Data

main()[source]