2D Viewer
- Updated2023-02-21
- 2 minute(s) read
Owning Palette: Medical Image Controls
Requires: Biomedical Toolkit
Displays the transverse plane (X-Y), coronal plane (X-Z), and sagittal plane (Y-Z) that intersect the coordinates of 3D volume data.
User Interface Controls
You can use the following controls to navigate the 2D Viewer.
Action | Control |
---|---|
Zoom in | Scroll mouse wheel up |
Zoom out | Scroll mouse wheel down |
Drag image | Click and drag |
Index images | Press the <Alt> key while you click and drag |
Properties
You can use the following 2D Viewer properties with the Property Node.
Property | Description |
---|---|
Color Map | Reads and writes an array of 256 colors that defines the colormap. |
Color Space | Reads and writes the color space. You can choose between GRAYSCALE (default), RGB, and PALETTE COLOR |
Deferred Update | Reads and writes the update status. If the value is True, all user-defined properties will not be set. The user-defined properties will be updated when the value of this Property Node is False. |
Information Box Visible? | Reads and writes the display status of the Information Box (the string indicator at the bottom of the 2D Viewer). |
Busy? | Reads the activity status of the 2D Viewer. A value of True indicates that the 2D Viewer is busy (processing). |
Low Cursor Visible? | Reads and writes the display status of the lower cursor. |
Orthogonal Graphs Visible? | Reads and writes the display status of the Orthogonal Graphs. |
Ramp Menu Visible? | Reads and writes the display status of the shortcut menu for the color ramp. |
Ramp Visible? | Reads and writes the display status of the color ramp. |
Spacing | Reads and writes the spacing values. |
Up Cursor Visible? | Reads and writes the display status of the upper cursor. |
Window Center | Reads and writes window center values. |
Window Length | Reads and writes window length values. |
X Coordinate | Reads and writes the X coordinate of the current selected position. |
Y Coordinate | Reads and writes the Y coordinate of the current selected position. |
Z Coordinate | Reads and writes the Z coordinate of the current selected position. |
Methods
You can use the following 2D Viewer methods with the Invoke Node.
Method | Description |
---|---|
Get Three Planes | Gets the transverse, coronal, and sagittal plane images at the currently selected position. |
Refer to the 3D Image Reconstructor VI in the labview\examples\Biomedical\Medical Image directory for an example of using the 2D Viewer.
Refer to the Animate 2D Slices VI in the labview\examples\Biomedical\Biosignal\Medical Image directory for an example of using the 2D Viewer.