Reference

Table of Contents  ▸  Image and Data Viewers◀  Mathematical Expressions    |    Adding Custom Commands  ▶

Image and Data Viewers

has some very handy embedded visualization modules, for 1D signals (command plot), 1D/2D/3D images (command display) and 3D vector objects (command display3d). It manages interactive views of the selected image data.
The following actions are available in the interactive viewers:
(mousewheel): Zoom in/out.
ESC: Close window.
CTRL+D: Increase window size.
CTRL+C: Decrease window size.
CTRL+R: Reset window size.
CTRL+F: Toggle fullscreen mode.
CTRL+S: Save current view as a numbered file gmic_xxxx.ext.
CTRL+O: Save copy of the viewed data, as a numbered file gmic_xxxx.ext.

Actions specific to the 1D/2D image viewer (command display) are:
Left mouse button: Create an image selection and zoom into it.
Middle mouse button, or CTRL+left mouse button: Move image.
Mouse wheel or PADD+/-: Zoom in/out.
Arrow keys: Move image left/right/up/down.
CTRL+A: Enable/disable transparency (show alpha channel).
CTRL+N: Change normalization mode (can be { none | normal | channel-by-channel }).
CTRL+SPACE: Reset view.
CTRL+X: Show/hide axes.
CTRL+Z: Hold/release aspect ratio.

Actions specific to the 3D volumetric image viewer (command display) are:
CTRL+P: Play z-stack of frames as a movie.
CTRL+V: Show/hide 3D view on bottom right zone.
CTRL+X: Show/hide axes.
CTRL+(mousewheel): Go up/down.
SHIFT+(mousewheel): Go left/right.
Numeric PAD: Zoom in/out (+/-) and move through zoomed image (digits).
BACKSPACE: Reset zoom scale.

Actions specific to the 3D object viewer (command display3d) are:
(mouse)+(left mouse button): Rotate 3D object.
(mouse)+(right mouse button): Zoom 3D object.
(mouse)+(middle mouse button): Shift 3D object.
F1 ... F6: Toggle between different 3D rendering modes.
F7/F8: Decrease/increase focale.
F9: Select animation mode.
F10: Select animation speed.
SPACE: Start/stop animation.
CTRL+A: Show/hide 3D axes.
CTRL+B: Switch between available background.
CTRL+G: Save 3D object, as numbered file gmic_xxxx.off.
CTRL+L: Show/hide outline.
CTRL+P: Print current 3D pose on stderr.
CTRL+T: Switch between single/double-sided 3D modes.
CTRL+V: Start animation with video output.
CTRL+X: Show/hide 3D bounding box.
CTRL+Z: Enable/disable z-buffered rendering.

◀  Mathematical Expressions    |    Adding Custom Commands  ▶