easyiec.imaging.compose_grid#

easyiec.imaging.compose_grid(images, labels=None, ncols=None, tile=256, pad=8, label_size=None, background=(255, 255, 255), highlight=None)[source]#

Tile images into one labelled gallery image (used for VLM judges and reports).

Parameters:
imageslist of arrays
labelslist of str, optional

Printed in a badge at the top-left corner of each tile.

ncolsint, optional

Columns (default: ceil(sqrt(n))).

tileint

Side of a tile in pixels.

highlightdict, optional

{index: (r, g, b)} coloured frames (e.g. selected individuals).