openalea.phenomenal.object.imageView.iter_images#

openalea.phenomenal.object.imageView.iter_images(images, cameras=None, angles=None)[source]#

Iterate over an in-memory image dictionary.

Parameters:
  • images

    Nested dictionary mapping camera identifiers and angles to image arrays:

    {
        camera_id: {
            angle: image_array,
            ...
        },
        ...
    }
    

  • 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.