converters.lightfield_converter

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

Description:

The class LightfieldConverter handles conversion for all of the currently supported formats in the LFC Toolkit (e. g, PPM->PGX, PGX->YUV…)

class LightfieldConverter[source]

Bases: object

static convert(source, destination_type, output_path=None, remove_after_using=False)[source]

Light field converter method

Parameters:
  • source (RAWLightFieldData) – Input raw light field

  • destination_type (str) – Output file format (e.g, PGX, YUV, PNG)

  • output_path (Optional[Union[str, Path]]) – Output path for converted files

  • remove_after_using (bool) – Whether to remove intermediate files

Returns:

Converted light field

Return type:

RAWLightFieldData | None

main()[source]