LabVIEW Biomedical Toolkit API Reference

Table of Contents

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.

ActionControl
Zoom inScroll mouse wheel up
Zoom outScroll mouse wheel down
Drag imageClick and drag
Index imagesPress the <Alt> key while you click and drag

Properties

You can use the following 2D Viewer properties with the Property Node.

PropertyDescription
Color MapReads and writes an array of 256 colors that defines the colormap.
Color SpaceReads and writes the color space. You can choose between GRAYSCALE (default), RGB, and PALETTE COLOR
Deferred UpdateReads 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.
SpacingReads and writes the spacing values.
Up Cursor Visible?Reads and writes the display status of the upper cursor.
Window CenterReads and writes window center values.
Window LengthReads and writes window length values.
X CoordinateReads and writes the X coordinate of the current selected position.
Y CoordinateReads and writes the Y coordinate of the current selected position.
Z CoordinateReads and writes the Z coordinate of the current selected position.

Methods

You can use the following 2D Viewer methods with the Invoke Node.

MethodDescription
Get Three PlanesGets 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.

Log in to get a better experience