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).