openalea.phenomenal.object.imageView.iter_image_paths#
- openalea.phenomenal.object.imageView.iter_image_paths(image_paths, imread, cameras=None, angles=None)[source]#
Iterate over images stored as file paths.
- Parameters:
image_paths –
Nested dictionary mapping camera identifiers and angles to image file paths:
{ camera_id: { angle: image_path, ... }, ... }
imread – Callable used to read an image from a file path.
cameras – Optional iterable of camera identifiers to filter. If
None, all cameras are used.angles – Optional iterable of view angles to filter. If
None, all angles are used.
- Yields:
Tuples
(camera_id, angle, image_array)for each selected image.