colour_hdri.ImageStack#
- class colour_hdri.ImageStack[source]#
Bases:
MutableSequence
Define 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__()
- insert(index: int, value: Any)[source]#
Insert given
colour_hdri.Image
class instance at given index.- Parameters:
index (int) –
colour_hdri.Image
class instance index.value (Any) –
colour_hdri.Image
class instance to set.
- sort(key: Callable | None = None)[source]#
Sort the underlying data structure.
- Parameters:
key (Callable | None) – Function of one argument that is used to extract a comparison key from each data structure.
- static from_files(image_files: Sequence[str], cctf_decoding: Callable | None = None) ImageStack [source]#
Return a
colour_hdri.ImageStack
instance from given image files.- Parameters:
- Return type: