stack_images(images, desired_aspect_ratio=(1, 1), f=None)¶
Stacks a group of images into a combined windowed image, fitting the desired aspect ratio as closely as possible.
images (sequence of arrays) – Sequence of image arrays to be stacked [batch_shape,height,width,dims] .
desired_aspect_ratio (sequence of ints) – Desired aspect ratio of stacked image.
f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.
Stacked image, suitable for viewing in a single window.