visualize_images

menpo.visualize.visualize_images(images, figure_size=(10, 8), popup=False, browser_style='buttons')[source]

Widget that allows browsing through a list of Image (or subclass) objects.

The images can have a combination of different attributes, e.g. masked or not, landmarked or not, without multiple landmark groups and labels etc. The widget has options tabs regarding the visualized channels, the landmarks, the renderer (lines, markers, numbering, legend, figure, axes) and saving the figure to file.

Parameters:
  • images (list of Image or subclass) – The list of images to be visualized.
  • figure_size ((int, int), optional) – The initial size of the rendered figure.
  • popup (bool, optional) – If True, the widget will appear as a popup window.
  • browser_style ({buttons, slider}, optional) – It defines whether the selector of the images will have the form of plus/minus buttons or a slider.