RGB Spectrum SuperView 3000 Video Windowing System User Manual

Page of 64
S Y S T E M B A S I C S
Selecting and Displaying Windows–Serial Port Control
May 9, 2002
SuperView 3000 User Manual
9
..
...
input image can be viewed, and it is shown in only one window. The SuperView
automatically changes an input’s source rectangle as you use various front panel
zoom and pan controls to select and zoom in on portions of the full-size image.
destination rectangle specifies a window’s size and screen position. The
content of the window is the imagery defined by the source rectangle.
To help you understand what the specification of source and destination
rectangles involves, we will explain the nature of these rectangles in more
detail. The source rectangle for each input is defined in terms of the input
image’s coordinate space—its top left corner is positioned using these
coordinates, and its width and height are defined the same way. Similarly, each
input’s destination rectangle is defined in terms of the screen space coordinates
of the monitor. Each window is sized and positioned on the monitor as specified
by its destination rectangle.
Next, we’ll look at some examples of how to specify the coordinates of source
and destination rectangles.
FIGURE 4.
Selection of an Image Segment for Display in a Window
S E R I A L
.
. . . . . . . . . . . .
C O N T R O L
The selection of source and destination rectangles is achieved with the WSR
and WDR commands.
Example––define the source rectangle in Figure 4. That is,
for window 1, set the rectangle’s top left corner to begin at
(200, 150) of the input image, and use a section 210 pixels
wide and 150 lines high:
>wsr 1 200 150 210 150