Utilities#

Common#

colour_hdri

vivification()

Implement supports for vivification of the underlying dict like data-structure, magical!

vivified_to_dict(vivified)

Convert given vivified data-structure to dictionary.

path_exists(path)

Return whether given path exists.

filter_files(directory, extensions)

Filter given directory for files matching given extensions.

EXIF Data Manipulation#

colour_hdri

EXIF_EXECUTABLE

Command line EXIF manipulation application, usually Phil Harvey's ExifTool.

EXIFTag(group, name, value, identifier)

EXIF tag data.

parse_exif_string(exif_tag)

Parse given EXIF tag assuming it is a string and return its value.

parse_exif_number(exif_tag[, dtype])

Parse given EXIF tag assuming it is a number type and return its value.

parse_exif_fraction(exif_tag[, dtype])

Parse given EXIF tag assuming it is a fraction and return its value.

parse_exif_array(exif_tag[, dtype, shape])

Parse given EXIF tag assuming it is an array and return its value.

parse_exif_data(data)

Parse given EXIF data output from exiftool.

read_exif_tags(image)

Return given image EXIF image tags.

copy_exif_tags(source, target)

Copy given source image file EXIF tag to given image target.

update_exif_tags(images)

Update given images pairs EXIF tags.

delete_exif_tags(image)

Delete all given image EXIF tags.

read_exif_tag(image, tag)

Return given image EXIF tag value.

write_exif_tag(image, tag, value)

Set given image EXIF tag value.

Image Data & Metadata Utilities#

colour_hdri

Metadata(f_number, exposure_time, iso, ...)

Define the base object for storing exif metadata relevant to HDRI Generation.

Image([path, data, metadata])

Define the base object for storing an image along its path, pixel data and metadata needed for HDRIs generation.

ImageStack()

Define a convenient stack storing a sequence of images for HDRI / radiance images generation.