genre | View2D |
author | Florian Link |
package | MeVisLab/Standard |
definition | viewers.def |
see also | View3D, SynchroView2D, OrthoView2D |
keywords | viewer |
The module View2D provides a viewer for two-dimensions with the possibility to scroll through the slices in 3D.
Different annotations are displayed, like the current voxel value and its position, the current slice and some medical informations.
Also, the macro offers changing the LUT of the displayed image by dragging the mouse with the right mouse-button held down.
Attention: This macro is not intended to be used in applications. Additional features may be added at any time (e.g. introducing keyboard shortcuts, new dependencies etc.), in order to aid quick prototyping or image viewing. Applications should pick only the necessary modules for the features they intend to support.
The View2D has the following standard key binding:
Key | Function |
---|---|
1-9 | Switch the number of shown slices. |
NUM 5 | Reset zooming. |
NUM * | Toggle interpolation. |
NUM 0 | Step through LUT modes. |
NUM 4,6,8,2 | Scroll inside a slice. |
NUM +, - | Zoom in/out slice center. |
PAGE UP/DOWN | Next/previous slice. |
CURSOR UP/DOWN | Next/previous slice. |
CURSOR LEFT/RIGHT | Next/previous time point. |
SHIFT MIDDLE MOUSE | Scroll inside of slice. |
CTRL MIDDLE MOUSE | Mouse up/down zooms/unzooms. |
A | Toggle annotations. |
I | Toggle information overlay. |
The cinematic function automatically slices through an image. To record a movie, enable the Inventor output, attach a SoExaminerViewer and use the movie recording abilities of that module.
If checked, the additional Inventor inputs are active at the module.
If checked, an Inventor output with the scene is active at the module.
If checked, the internal View2D extensions are active.
Shows and sets the start slice (current slice).
Sets the slab thickness which is the number of simultaneously shown slices.
Defines the blend mode.
Values:
Title | Name |
---|---|
Replace | BLEND_REPLACE |
Add | BLEND_ADD |
Blend | BLEND_BLEND |
Maximum | BLEND_MAXIMUM |
Minimum | BLEND_MINIMUM |
Reverse Subtract | BLEND_REVERSE_SUBTRACT |
Subtract | BLEND_SUBTRACT |
Screen | BLEND_SCREEN |
Premultiplied Blend | BLEND_PREMULTIPLIED_BLEND |
Sets and shows the current time point.
Sets the maximum time point.
Set it to -1 to have unlimited time points.
Sets the interpolation mode for mapping voxels to screen pixels.
Values:
Title | Name |
---|---|
Nearest | FILTER_NEAREST |
Linear | FILTER_LINEAR |
Linear Postclass | FILTER_LINEAR_POSTCLASS |
Cubic Postclass | FILTER_CUBIC_POSTCLASS |
If checked, the standard keys can be used.
Defines the direction of automatic slicing for the cinematic mode.
Values:
Title | Name |
---|---|
Z | CINE_Z |
T | CINE_T |
ZT | CINE_ZT |
TZ | CINE_TZ |
Defines the slicing direction for the cinematic mode.
Values:
Title | Name |
---|---|
Forward | CINE_FORWARD |
Pingpong | CINE_PINGPONG |
Defines the repeat mode for the cinematic function.
Values:
Title | Name |
---|---|
Once | CINE_ONCE |
Repeat | CINE_REPEAT |
Sets the speed of the cinematic function by setting the waiting time in seconds between showing consecutive slices.
If checked, the center slice is shown on touching the input image.
If pressed, the LUT is computed anew on base of the current input image.
This newly computed default LUT has its center set to (imageMax - imageMin) / 2 and its range set to (imageMax - imageMin).
If checked, annotations showing image and patient information are rendered over the image.
Sets the color of the annotations.
Defines the mode of showing the current mouse position.
Values:
Title | Name |
---|---|
Voxel | Voxel |
World | World |
Defines the mode in which the voxel value under the mouse cursor is shown.
Values:
Title | Name | Deprecated Name |
---|---|---|
As Is | AsIs | As Is |
To Hounsfield | ToHounsfield | To Hounsfield |
If checked, a border is rendered around the viewer.
Sets the color of the border around the viewer.
If checked, voxel values under the mouse cursor are displayed with a high precision. This includes the display of all components of non-scalar values and, if enabled, the display of all color channel values.
Enables the display of voxel values from all color channels; if disabled only the value of the first channel is shown.
The string used to separate color channel components in the voxel value display; other separators than a space are recommended to distinguish it from the space which is used between non scalar voxel values.
Number of digits after the comma if Display value with high precision is checked; the maximum precision is used if it is smaller 0.
If checked, interactive slicing is enabled.
If checked, the internal LUT module does not compute a relative LUT if no input image is present.
Keep this option unchecked if you want to use the same LUT for different images. Otherwise, on disconnecting the input image, a relative LUT is computed and on connecting a different image, this relative LUT is used to compute the next absolute LUT. This results in having always the same appearance for images with a different image value range.