0% found this document useful (0 votes)
87 views6 pages

Window To Viewport Transformation

The document explains the concepts of Window and Viewport in the context of coordinate transformations for displaying images. It describes the process of Window to Viewport Transformation, which involves mapping a selected area of a World Coordinate (Window) to a specific area on a display device (Viewport) through operations like translation, rotation, and scaling. Additionally, it outlines the requirements for maintaining relative placement during this transformation and poses a question regarding a normalized transformation example with specific coordinates.

Uploaded by

pkgamer808
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views6 pages

Window To Viewport Transformation

The document explains the concepts of Window and Viewport in the context of coordinate transformations for displaying images. It describes the process of Window to Viewport Transformation, which involves mapping a selected area of a World Coordinate (Window) to a specific area on a display device (Viewport) through operations like translation, rotation, and scaling. Additionally, it outlines the requirements for maintaining relative placement during this transformation and poses a question regarding a normalized transformation example with specific coordinates.

Uploaded by

pkgamer808
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Window to Viewport Transformation:

Windowport or World Coordinate:


●​ Any conventional cartesian coordinate system, referred to as the
World Coordinate.
●​ A world coordinate area selected for display is called a Window.
●​ The window defines what is to be viewed.
●​ Window is an area where real world image is displayed.

Viewport or Device Coordinate:


●​ For a 2D picture, a view is selected by specifying a subarea of
the total picture area. The picture parts within the selected area
are then mapped to specific area of the Device Coordinates.
●​ An area on a display device to which a window is mapped is
called a Viewport.
●​ The viewport defines where is to be displayed.
●​ It is an area of device where clipped image is displayed.

Transformation:
Process to transforming the image from one coordinate system
(window) to other coordinate system (viewport) is referred to as
Window to Viewport Transformation.
Transformation from world to device coordinate involves translation,
rotation, scaling operations as well as procedures for deleting those
part of the picture that are outside the limits of a selected display area.
There is a relative change from window image to view part image but
common properties of image remain same.
1)​A world coordinate area selected for display is called a Window.
2)​An area on a display device to which a window is mapped is
called a Viewport.

Mapping of a part of a World Coordinate scene to device


coordinate is referred to as a Viewing Transformation.
Sometimes, the 2D Viewing Transformation is simply referred to
as the Window to Viewport transformation or Windowing
Transformation.
To maintain the relative placement in the viewport as in the window,
we require-
Ques)
Find out normalised transformation for window to viewport which uses
a rectangle whose lower left corner (2,2) and upper right corner (6,10)
as a window coordinate and the view port has lower left corner (0,0)
and upper right corner (1,1). An object is a line whose end point
coordinates are (3,5) and (4,3).

You might also like