Table of Contents

matshow

matshow can display any image type as well as .mat image files. It can also display weights contained in a network weights file (see '-conf' option). User can zoom, pan, show multiple images at once, display image informations and change display range (see controls section).

Calls

  • matshow <file(s)> [options]
  • Display all .mat images in current directory:
    matshow *.mat
  • Display all .jpg images in current directory:
    matshow *.jpg
  • Display all network weight in current directory which structure is defined in 'best.conf' configuration file, zooming on weights slices with a factor of 2.0, displaying them from the -1.5,1.5 range:
    matshow *.mat -conf best.conf -zoom 2.0 -range -1.5,1.5

Controls

  • pan: left-click and move mouse around to pan the image.
  • zoom: use mouse wheel to zoom in and out.
  • multiple images: multiple images can be shown at the same time using x or z keys to show more or less images horizontally, or y and t keys vertically.
  • previous/next: user can show images back and forth using left/right or backspace/space keys.
  • image information: display image informations such as size by pressing i.
  • help: key controls can be shown by pressing h.
  • autorange: enable/disable automatic input range by pressing a. Automatic range will map the minimum and maximum input range to the 0,255 display extrema.
  • CTRL+{0,1,2,3}: shows different images channels, 0 for RGB, 1 for R only, 2 for G only and 3 for B only.

Options

  • Show a trained network's weights:
    -conf <filename>
  • Zoom on weights by this factor:
    -zoom <factor>
  • Input range to map to display range (0 - 255):
    -range <range, e.g.: -1,1>
  • Display and save all input images in a video_<timestamp> directory, than can later be compile into a video:
    -video
matshow.txt · Last modified: 2012/06/27 18:15 by sermanet