Available in LEADTOOLS Medical Imaging toolkits. |
Programming with LEADTOOLS
Support for this control is provided by the LTIVW DLL. Each container created has both a window handle and a handle to the container itself. A container has a number of properties that govern the appearance of the container and the cells, including the number of rows and columns in which cells are viewed. The maximum number of rows and columns allowed in a container is 4 X 8. While a container can have a maximum of 4 rows and 8 columns, the number of cells in a container is limited by the amount of available memory.
A container, or Image Viewer, may contain a number of child windows called cells. These cells may contain images, tags or rulers. A cell can have one or more images attached to it. Cells may also contain rulers. In addition to images and rulers, cells may also contain tags.
Actions are processes that can be applied to the images attached to cells within the container/image viewer. LEADTOOLS supports several standard or "built-in" actions and custom or "user-defined" actions. The built-in actions LEADTOOLS supports are listed below:
Nudge tool region: expands the region border using the mouse or serves as a region painter [Version 16 and above]
Shrink tool region: shrinks the region border using the mouse. [Version 16 and above]
Window Leveling: Maps grayscale intensities using a user defined color map (LUT).
Alpha: A window-leveling factor used when the window leveling lookup table is not linear.
Scale: Increases or decreases the size of the image in the cell.
Offset: Changes the offset of the image within the cell.
Magnifying Glass: Magnifies the image in the cell.
Stack: Scrolls the images within the cell.
Annotation ruler: adds a ruler object to the cell.
Annotation rectangle: adds a rectangle object to the cell.
Annotation ellipse: adds an ellipse object to the cell.
Annotation angle: adds an angle object to the cell.
Annotation highlight: adds a highlight object to the cell.
Annotation arrow: adds an arrow object to the cell.
Annotation text: adds a text object to the cell.
Rectangle region: adds a rectangle region to the cell.
Square region: adds a square region to the cell.
Elliptical region: adds an elliptical region to the cell.
Circular region: adds a circular region to the cell.
Freehand region: adds a freehand region to the cell.
Polygon region: adds a polygon region to the cell.
Magic Wand region: sets a region based on the color at a selected point, growing outward in all directions from that point. Dragging increases the variation allowed from the selected color.
Color Range region: adds a color range region to the cell.
Nudge tool region: expand the region border using the mouse. It will serve also as a region painter
Shrink tool region: shrink the region border using the mouse.
Custom actions are completely controlled by the user, including any mouse movement and keystroke association.
The following topics provide a systematic approach to understanding how to program with the LEADTOOLS Medical Image Viewer Control C DLL.
Working with the LEADTOOLS Medical Image Viewer Control
Using the Medical Image Viewer Control
Creating a Bitmap Region Inside the Image Viewer
For more information, refer to:
Summary of All Supported Image File Formats
See Also: