Clipping in Computer Graphics

“The Clipping is a type of transformation used in computer graphics to remove lines, objects, and segments of lines that are outside the computer screen or viewing pane.” The clipping is a process of deciding the visible and invisible part of the image, object, or any line segment.

We only select the visible part and remove the invisible part of the line. The process clipping can be used in two-dimensional and three-dimensional graphics.

Clipping in two-dimensional (2D) Graphics

We can also describe clipping in two-dimensional graphics. In the two-dimensional graphics system, the clipping is a process in which all pixels of an image lies inside the boundary of view pane (window). We can also control pixel rendering to make creative and functional clip area.

Clipping in three-dimensional (3D) Graphics

In three-dimensional graphics, we can use the term clipping in many ways to define various features. The clipping is a term that describes some operations that work in a three-dimensional plane with rectangular shapes. We can extend the clipping to higher dimensionality. We can use various methods and algorithms to increase the dimensionality of clipping.        

Applications of clipping

We can use clipping for drawing operations.

  • It is used for separating the important part of an image.
  • The Solid modeling technique in clipping helps to build three-dimensional objects.
  • We can perform various operations that correlate with the pointing of an object. For example, delete, copy, insert, and moving selected parts of an object, etc.
  • Clipping helps us to describe the visible and invisible parts of 3D objects.  

Types of lines

The lines are divided into three types.

  • Visible Line
  • Invisible Line
  • Clipped Line
Clipping
  • Visible Line: The line lying inside the view pane, is a visible line.
  • Invisible Line: The line lying outside the view pane, is an invisible line.
  • Clipped Line: “A line that lies inside or outside the window is called clipped line.” A point where the line cut the view pane is known as the Intersection point of the line

Examples of Lines

There are some figures given below that represents the types of line.

Clipping2
Clipping3
Clipping4

We can use the clipping process with world coordinates. The object and images in view pane can be mapped to device coordinates.                     

Clipping5

Types of clipping

We can divide clipping into following types-

  1. Line clipping
  2. Point clipping
  3. Text clipping
  4. Exterior Clipping
  5. Curve clipping
  6. Polygon clipping

Related Topics

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.

2D Reflection

The Reflection is a mirror image of the original object. In the Reflection process, the size of the object does not change. We can represent Reflection by using four ways- Reflection along...

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

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.

Panning

“Panning is a process or photographic technique that is used to combine slow shutter speed with camera movement to make a speed sense around the moving object.” We can define panning as...

2 minutes read.

Computer Graphics Tutorial

Introduction to Computer Graphics Computer graphics is commonly seen as a computer science branch that deals with the computerized image fusion theory and technology. As simple as a triangle outline, a...

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

Anti-aliasing in Computer Graphics

Anti-aliasing in Computer Graphics “Anti-aliasing is a method for eliminating the aliasing effect used in computer graphics. In a 2-dimensional object, the ambient occlusion impact is the existence of sharp edges...

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

Types of Computer Graphics

Types of Computer Graphics The computer graphics contains two types. They are- Raster (Bitmap) graphicsVector graphics Many individuals are likely to consider pictures on computers (or phones, tablets, or some other electronic gadget...

5 minutes read.

Zooming

In computer graphics, the term “Zoom is referred as a function, focuses on a particular portion or part of an image and also enlarging the image’s size for greater details.” In windows...

2 minutes read.

Display Devices in Computer Graphics

The display device is an output device used to represent the information in the form of images (visual form). Display systems are mostly called a video monitor or Video display unit (VDU). Display devices are designed to model, display, view, or display information. The...

6 minutes read.

3D Shearing

We can denote shearing with ‘SHx,’ ‘SHy,’ and ‘SHz.’ These ‘SHx,’ ‘SHy,’ ‘SHz’ are called “Shearing factor.” The basic difference between 2D and 3D Shearing is that the 3D plane also...

1 minute 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.

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.

Image Representation in Computer Graphics

Image Representation: In computer science, we can represent an image in various forms. Most of the time, it refers to the way that brings information, such as color is coded digitally, and...

4 minutes read.

Filled Area Primitives Computer Graphics

Filled Area Primitives: Area filling is a method or process that helps us to fill an object, area, or image. We can easily fill the polygon. The polygon filling is...

4 minutes read.

Bresenham’s Circle Drawing Algorithm in Computer Graphics

Bresenham’s algorithm is also used for circle drawing. It is known as Bresenham’s circle drawing algorithm. It helps us to draw a circle. The circle generation is more complicated than...

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

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.