converters.pgx_from_yuv
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 YUV->PGX conversion.
- generate_pgx_from_yuv(raw_light_field_data, pgx_path, scan_order=<function get_serpentine_scan_list>, remove_after_using=False)[source]
Get RAW PGX light field object from RAW YUV light field data.
- Parameters:
raw_light_field_data (RAWLightFieldData) – RAW YUV light field to be converted
pgx_path (Union[str, Path]) – Path to save the PGX files
scan_order (ScanFunctionType) – Function defining the scan order
remove_after_using (bool) – Whether to remove intermediate files
- Returns:
Converted PGX light field data
- Return type: