converters.ppm_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->PPM conversion.

generate_ppm_from_yuv(raw_light_field_data, ppm_path, scan_order=<function get_serpentine_scan_list>, remove_after_using=False)[source]

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

Parameters:
  • raw_light_field_data (RAW_BT709_FR_YUV444p10le_LightField_Data) – RAW YUV light field to be converted

  • ppm_path (Union[str, Path]) – Path to save the PPM files

  • scan_order (ScanFunctionType) – Function defining the scan order

  • remove_after_using (bool) – Whether to remove intermediate files

Returns:

Converted PPM light field data

Return type:

RAW_RGB_PPM_LightField_Data

main()[source]