Transformation

Introduction

The term Transformation is generally referred to as converting a graphic into another graphic by applying some rules or algorithms. Sometimes an image or picture can be a combination of lines, rectangle, circle, and triangle. If we draw the basic and combination of pictures, then there should be a need to transform these images. Now we can perform the following actions to transform the images-

  • We can change the position of an image.
  • We can increase or decrease the size of an image.
  • We can change the angle of the image.

By using the above actions, we will find a new image; this process is called Transformation. We can use some algorithms to produce new pictures.

 The object transformation includes two important points-

  • Geometric Transformation: When we are moving the picture, and the background is fixed, then it is a Geometric Transformation.
  • Coordinate Transformation: When we are moving the background, and the picture is fixed, then it is Coordinate Transformation.

Types of Transformation

Transformation

There are two basic kinds of Translation.

1.Two-Dimensional(2D) Transformation:

“When we translate, rotate, and scale object in the two-dimensional plane, then it is called a Two-Dimensional Transformation.” A two-dimensional plane consists of the x and y-axis.

The Two-Dimensional Transformation includes-

  • 2D Translation: “Translation is a mechanism used to move the object from one position to another position on the screen.”
  • 2D Rotation: “Rotation is a process used to rotate the object from origin to a particular angle.”
  • 2D Scaling: “Scaling is a process or technique used to resize the object in two-dimensional plane.”
  • 2D Reflection: “Reflection is a mechanism or process in which we can rotate the object at the angle of 180°”.
  • 2D Shearing: “Shearing is a process that is used to perform slanting on the object.” It is also called “Skewing.”

2.Three-Dimensional Transformation:

“When we translate, rotate, and scale object in the three-dimensional plane then, it is called Three-Dimensional(3D) Transformation”. A three-dimensional plane consists of x, y, and z-axis.

The Three-Dimensional Transformation includes-

  • 3D Translation: “Translation is a mechanism used to move the object from one position to another position on the three-dimensional plane.”
  • 3D Rotation: “Rotation is a process used to rotate the object from origin to a particular angle in three-dimensional plane.”
  • 3D Scaling: “Scaling is a process or technique used to resize the object in three-dimensional plane”.
  • 3D Reflection: “Reflection is a mechanism or process in which we can rotate the object at the angle of 180° in three-dimensional plane.”
  • 3D Shearing: “Shearing is a process that is used to perform slanting on the object.” It is also called “Skewing”. It also includes z-axis.

Related Topics

2D Shearing

We can denote shearing with ‘SHx’ and ‘SHy.’ These ‘SHx’ and ‘SHy’ are called “Shearing factor.” We can perform shearing on the object in two ways- Shearing along x-axis: In this, we...

2 minutes read.

2D Transformation in Computer Graphics

Some visuals are transformed into some other graphics by implementing several of the principles known as transformation. There are multiple kinds of transformation, including translation, scaling, rotation, shearing, etc. Whenever...

2 minutes read.

Applications of Computer Graphics

Applications of Computer Graphics Some applications of computer graphics are mentioned below- Graphical User Interface (GUI): It is a way of interacting with a computer using the icon, ...

2 minutes read.

Input Devices in Computer Graphics

An Input device is the piece of computer hardware equipment used to give input to the computer. The input can be in the form of graphics, text, sound, audio, video,...

7 minutes read.

Illumination Model in Computer Graphics

Illumination Model in Computer Graphics The series of methods used to depict light in computer graphics scenarios is computer graphics illumination. Although lighting strategies provide versatility in the degree of detail...

8 minutes read.

Scan Conversion in Computer Graphics

“When we represent regular objects in the form of discrete pixels, it is called Scan Conversion.” Every graphics system must transform the primitives into a collection of pixels. The scan conversion is also...

2 minutes read.

Display Processor

It is a part of hardware or interpreter which is used to transform display processor code into pictures. It is used to convert digital information from CPU to analog data. It...

4 minutes read.

Text Clipping

“Text Clipping is a process in which we remove those part (portion) of string that is outside the view pane (window).” Various methods and techniques can do the text clipping. These techniques depend...

2 minutes read.

Aspect Ratio in Computer Graphics

Aspect Ratio in Computer Graphics You might well understand the concept of Aspect ratio as of now if you know regarding aerial photography or see the configuration portion of any computer...

5 minutes read.

2D Scaling

In scaling, we can expend or compress the size of any object. We can apply scaling on the object by multiplying the original coordinates with scaling factors. The term scaling factor...

2 minutes read.

Color Models in Computer Graphics

"Color model is a 3D color coordinate system to produce all range of color through the primary color set." There are millions of colors used in computer graphics. The light...

3 minutes read.

Line Clipping in Computer Graphics

The line clipping is a process in which we can cut the part of the line, which lies outside the view pane. Only those lines are visible, which lie inside the view pane....

13 minutes read.

Mid-Point Line Drawing Algorithm in Computer Graphics

The Mid-point Subdivision algorithm is the extension of the Cyrus-Beck algorithm. The Mid-Point line plotting algorithm was introduced by “Pitway and Van Aken.” It is an incremental line drawing algorithm....

8 minutes read.

3D Rotation

The 3D rotation is different from 2D rotation. In 3D Rotation we also have to define the angle of Rotation with the axis of Rotation. For Example- Let us assume, The initial...

2 minutes read.

Polygon Clipping in Computer Graphics

“A Polygon can be described as the enclosed collection or group of the lines.” In a polygon, all lines are connected. Lines can be a combination of edges and vertices,...

4 minutes read.

Rendering in Computer Graphics

Rendering in Computer Graphics Rendering is the operation, by virtue of a software system, of creating a picture from a template. In a specifically defined term or information structures, the model is a...

9 minutes read.

Computer Graphics Window

“The process of selecting and viewing an image with different views, called windowing.” All the objects in the real world have a size. We can measure the size and location of...

4 minutes read.

Midpoint Circle Drawing Algorithm in Computer Graphics

The midpoint circle drawing algorithm helps us to calculate the complete perimeter points of a circle for the first octant. We can quickly find and calculate the points of other...

12 minutes read.

Line Drawing Algorithm in Computer Graphics

“The Line drawing algorithm is a graphical algorithm which is used to represent the line segment on discrete graphical media, i.e., printer and pixel-based media.” A line contains two points....

3 minutes read.

Transformation

Introduction The term Transformation is generally referred to as converting a graphic into another graphic by applying some rules or algorithms. Sometimes an image or picture can be a combination of lines, rectangle,...

2 minutes read.