colour_hdri.ImageStack¶
-
class
colour_hdri.
ImageStack
[source]¶ Bases:
collections.abc.MutableSequence
Defines a convenient stack storing a sequence of images for HDRI / radiance images generation.
Methods
colour_hdri.ImageStack.__init__()
colour_hdri.ImageStack.__getitem__()
colour_hdri.ImageStack.__setitem__()
colour_hdri.ImageStack.__delitem__()
colour_hdri.ImageStack.__len__()
colour_hdri.ImageStack.__getattr__()
colour_hdri.ImageStack.__setattr__()
-
sort
(key=None)[source]¶ Sorts the underlying data structure.
- Parameters
key (callable) – Function of one argument that is used to extract a comparison key from each data structure.
-
static
from_files
(image_files, cctf_decoding=None)[source]¶ Returns a
colour_hdri.ImageStack
instance with given image files.- Parameters
image_files (array_like) – Image files.
cctf_decoding (object, optional) – Decoding colour component transfer function (Decoding CCTF) or electro-optical transfer function (EOTF / EOCF).
- Returns
- Return type