Destination rectangle, Sect – RGB Spectrum Quadra User's Guide User Manual

Page 94

Advertising
background image

I M A G E C O N C E P T S

Image Rectangles

350-7951

Quadra User’s Guide

86

.

. .

.

.

DESTINATION

. . . . . . . . .

RECTANGLE

Each input’s destination rectangle is defined in terms of the display device’s
screen space coordinates, rather than the input picture’s coordinates. Each
destination rectangle represents the source rectangle mapped to a specific size
and position on the display.

In the example below, the display monitor is 1280 x 1024. The full size source
rectangle from

Figure A-1

is mapped to a destination rectangle, starting at

coordinates (

300

,

500

), with a horizontal width of 600 pixels and a vertical

height of 250 lines.

Figure A-3.

Full Size Source mapped to Destination

The Window Destination Rectangle (WDR) command defines the size and
position of the destination rectangle for the image displayed on the output
channel.

Thus, to map the full size picture from

Figure A-1

(WSR

0 0 639

,

479

) to a

destination rectangle, the WDR would be defined as:

300 500 600 250

Note that in this example the original image size (the source) is 640 x 480 pixels
but the size of the destination is 600 x 250. The resulting image (destination
image) is smaller than the original and also has a different aspect ratio. Also the
image is no longer located at the top left (origin) of the output display, but is
moved more towards the center.

Advertising