edflow.iterators.batches module¶
Summary¶
Functions:
convert batch of images to canvas |
|
Turns a list of nested dictionaries into a nested dictionary of lists. |
|
Save batch of images tiled. |
|
Save image. |
|
Tile images for display. |
Reference¶
-
edflow.iterators.batches.
deep_lod2dol
(list_of_nested_things)¶ Turns a list of nested dictionaries into a nested dictionary of lists. This function takes care that all leafs of the nested dictionaries are considered as full keys, not only the top level keys.
Note
The difference to
deep_lod2dol()
is, that the correct type is always checked not only at exceptions.- Parameters
list_of_nested_things (list) – A list of deep dictionaries
- Returns
out – A dict containing lists of leaf entries.
- Return type
dict
- Raises
ValueError – Raised if the passed object is not a
list
or if its values are notdict
s.