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

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 Translation

A 3D Translation process contains the x-axis, y-axis, and z-axis. We can move any object from one place to another without changing the shape of the object. For Example-Translation of a...

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

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.

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.

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.

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.

Composite Transformation in Computer Graphics

Composite transformation in Computer Graphics It is possible to integrate a range of transformations or series of transformations into some kind of a single one which is known as composition. The...

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

DDA line Drawing Algorithm in Computer Graphics

DDA (Digital Differential Analyzer) Line Drawing Algorithm The Digital Differential Analyzer helps us to interpolate the variables on an interval from one point to another point. We can use the digital Differential Analyzer algorithm...

5 minutes read.

Animation in Computer Graphics

The word Animation is extracted from a Latin language, "Anima," which means "Soul." TheAnimation is a technology that allows any image object, an entity to walk, talk, or do some...

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

History of Computer Graphics

History of Computer Graphics Computer Graphics (CG) was first developed as a visualization tool. Computer graphics were basically introduced for scientists and engineers in government and corporate research centers, i.e., Bell Labs and Boeing...

4 minutes read.

3D Reflection

The Reflection is a mirror image of the original object. We can differentiate 2D and 3D reflection by adding Z-axis. The Z-axis shows the depth of the surface. In the...

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

Scan Conversion of a Circle Computer Graphics

A circle is an eight-way symmetric shape. All quadrants of a circle are the same. There are two octants in each quadrant of a circle. If we know the value of any...

3 minutes read.

Point Clipping

“Point clipping is a process which is used to define the point position.” The point is either inside the view pane (window) or outside the view pane. In computer graphics, the computer...

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

Output Devices in Computer Graphics

Computer Graphics Output Devices An output device is a component of hardware or the main physical part of a computer that can be touched and seen. An output device is an electromechanical device. “The...

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