Lec 1: Introduction to graphics

NPTEL IIT Guwahati
1 Sept 202022:30

Summary

TLDRThis lecture introduces the fundamental concepts of computer graphics, exploring its applications in document processing, CAD, and visualization. It discusses how images, both alphanumeric and visual, are created and manipulated on various displays. The lecture outlines four key questions in computer graphics: representation of image components, synthesis into realistic imagery, user interaction, and animation creation. It differentiates computer graphics from image processing and sets the stage for further exploration of the field.

Takeaways

  • 🖥️ Computer Graphics is a field that deals with the creation and manipulation of images and animations using computers.
  • 📝 Document processing is an example of computer graphics where alphanumeric characters and images are combined to create documents.
  • 🔧 CAD (Computer Aided Design) interfaces are used to design machinery and parts by assembling virtual components with specified properties.
  • 🔬 Scientific visualization allows the visualization of natural phenomena that are not visible to the naked eye, like DNA molecules.
  • 🌐 Information visualization helps in visualizing complex data structures, such as network traffic flow in computer networks.
  • 🎨 Both text characters and actual images are considered images in computer graphics, and they are constructed from geometric shapes and colors.
  • 🖌️ Users can interact with the content on the screen using input devices like mouse, keyboard, and joystick to manipulate images or their components.
  • 💻 The fundamental questions in computer graphics involve representing objects in a language computers understand, synthesizing these objects into images, allowing user interaction, and creating animations.
  • 📱 The applications of computer graphics are vast and can be seen on various displays from mobile phones to large screens in concerts and theaters.
  • 🔄 The process of computer graphics involves rendering static images or animations efficiently, considering the underlying hardware and software variations.

Q & A

  • What is the primary focus of the first lecture in the Computer Graphics course?

    -The primary focus of the first lecture is to provide an overview of the basic concepts of computer graphics and its applications.

  • What are the different types of tasks that can be performed using computers, as mentioned in the lecture?

    -The lecture mentions document processing, CAD (Computer Aided Design), and visualization as different types of tasks that can be performed using computers.

  • What is the significance of alphanumeric characters in document processing?

    -Alphanumeric characters are the most important component in document processing as they form the textual content of the documents.

  • How are icons and menu options related to document processing?

    -Icons and menu options represent various editing tools that are used to manipulate and format the document, making them equally important components in document processing interfaces.

  • What is CAD and how does it relate to computer graphics?

    -CAD stands for Computer Aided Design, a system used to design machinery and parts. It relates to computer graphics as it involves creating and assembling virtual components with specified properties.

  • What are the two types of visualization discussed in the lecture?

    -The two types of visualization discussed are scientific visualization, which helps visualize natural phenomena, and information visualization, which deals with visualizing man-made information.

  • How does computer graphics assist in the design process of machinery?

    -Computer graphics assists in the design process by allowing engineers to virtually create and assemble machinery components, check for specification issues, and save time and costs by avoiding physical development.

  • What is the fundamental question addressed in computer graphics?

    -The fundamental question addressed in computer graphics is how to create, synthesize, and render images on a computer display that can be perceived by humans.

  • What are the four component questions derived from the fundamental question in computer graphics?

    -The four component questions are: 1) How to represent the constituent parts of imagery, 2) How to synthesize these parts into a complete, realistic image, 3) How to allow user interaction with the imagery using input devices, and 4) How to create the impression of motion for animations.

  • How does the efficiency in computer graphics relate to the utilization of resources?

    -Efficiency in computer graphics refers to the effective use of underlying resources such as CPU speed, memory capacity, and power consumption to render static images or animations on various display platforms.

  • What is the difference between computer graphics and image processing as mentioned in the lecture?

    -Computer graphics deals with the synthesis of images and animations, while image processing involves the manipulation of already captured images.

Outlines

00:00

💻 Introduction to Computer Graphics

The first paragraph introduces the course on Computer Graphics, outlining its key themes and providing examples of tasks performed with computers. It emphasizes document processing, including creating slides, and explores different components of the computer screen, such as alphanumeric characters, menu options, and icons. It also discusses other software interfaces like CAD (Computer-Aided Design) used for designing machinery parts, showing how computer graphics aid in visualizing and manipulating these designs.

05:11

🔧 Applications of Computer Graphics in Engineering and Visualization

This paragraph explores additional applications of computer graphics, focusing on how engineers use CAD to design machinery virtually, saving time and costs. It also introduces scientific visualization, exemplified by DNA modeling, and information visualization, such as visualizing network traffic. These visualizations allow us to perceive things that are either impossible or difficult to see with the naked eye, thus broadening the scope of graphics applications in various fields.

10:13

🖥️ The Role of Displays in Computer Graphics

The third paragraph shifts focus to the variety of displays used in computer graphics, from desktops to large display screens at events. It highlights that, to a layperson, the computer screen represents the entire computer. This paragraph also introduces the concept that both text and images are represented as 'images' on the screen, emphasizing the geometric shapes and colors that form these displays. It further discusses the role of input devices in interacting with and manipulating on-screen content.

15:16

🧠 Translating Human Understanding into Computer Language

This paragraph tackles the fundamental question of how computers, which understand binary (0s and 1s), process complex images, text, and animations. It introduces two key challenges: how to represent images in a form that computers can process, and how to convert computer-generated outputs back into forms humans can understand. The paragraph then outlines four central questions of computer graphics: representation, synthesis, interaction, and animation. These are the core problems the field seeks to address across diverse platforms like mobile phones and desktop screens.

20:19

📚 Conclusion and Distinction Between Image Processing and Computer Graphics

The final paragraph wraps up the lecture, distinguishing between computer graphics and image processing. While computer graphics focus on synthesizing images and creating animations, image processing deals with manipulating existing images. The speaker briefly mentions that while the two fields are related, this course will concentrate on computer graphics. It concludes by pointing to a book reference for further reading on the discussed topics and previews the next lecture, which will cover the historical evolution of computer graphics.

Mindmap

Keywords

💡Computer Graphics

Computer Graphics is a field that deals with the creation and manipulation of images using computers. It encompasses a broad range of applications from creating visual content for games and movies to designing interfaces for software and websites. In the context of the video, it is the central theme, with the lecture focusing on the basic ideas and applications of computer graphics. The script mentions various examples such as document processing, CAD interfaces, and visualization, all of which are applications of computer graphics.

💡Document Processing

Document processing refers to the creation and manipulation of documents using computer software. It is an example of a computer graphics application where users interact with text and images to create documents like presentations or reports. The script illustrates this concept by showing the creation of lecture slides, highlighting the use of alphanumeric characters and editing tools, which are all integral parts of the document processing system.

💡CAD Interface

CAD Interface stands for Computer Aided Design Interface, which is a specialized software tool used by engineers and designers to create and modify complex designs. It is mentioned in the script as an example of how computer graphics can be used to design machinery and parts. The interface allows users to assemble virtual components with specified properties, providing a cost and time-efficient way to develop and test designs.

💡Visualization

Visualization in the context of computer graphics refers to the process of creating visual representations of data or concepts that are otherwise difficult to perceive. The script discusses two types: scientific visualization, which deals with visualizing natural phenomena like DNA molecules, and information visualization, which is used to represent abstract data such as network traffic flows. These visualizations help in understanding complex information by providing a visual context.

💡Alphanumeric Characters

Alphanumeric characters include the letters of the alphabet and numbers, which are fundamental components in document processing and other computer graphics applications. The script explains that these characters are entered using a keyboard and are rendered on the screen as part of the interface. They are essential for creating text-based content and are considered objects in the broader context of computer graphics.

💡Rendering

Rendering in computer graphics is the process of generating an image from a model by means of computer programs. It involves the translation of 3D models, text, and other objects into 2D images that can be displayed on a screen. The script touches upon rendering as a part of the fundamental questions in computer graphics, emphasizing the importance of efficiently creating realistic imagery.

💡Input Devices

Input devices are hardware components that allow users to interact with a computer system. Examples include keyboards, mice, and joysticks. The script mentions input devices in the context of user interaction with computer graphics, where users can manipulate images or objects on the screen. These devices are crucial for creating an interactive experience in applications such as games, design software, and more.

💡Geometric Shapes

Geometric shapes are the basic building blocks used in computer graphics to construct more complex images and objects. The script refers to these shapes as the components of CAD interfaces and other graphical applications, where they are assigned colors and properties to create the final image. Geometric shapes are fundamental in the representation and synthesis of imagery in computer graphics.

💡Animation

Animation in computer graphics is the process of creating the illusion of motion by displaying a series of images in rapid succession. The script differentiates between computer graphics, which involves the synthesis of static images and animations, and image processing, which manipulates existing images. Animation is created by manipulating the properties of objects over time, providing a dynamic and interactive visual experience.

💡Efficiency

Efficiency in the context of computer graphics refers to the effective use of computational resources to render images and animations. The script emphasizes the importance of efficiency in computer graphics, as it allows for the creation of high-quality visual content while minimizing the use of processing power, memory, and other resources. This is particularly important given the wide range of devices and platforms on which computer graphics are used.

💡Image Processing

Image processing is a related field to computer graphics that involves the manipulation and analysis of existing images. Unlike computer graphics, which focuses on the synthesis of new images and animations, image processing deals with modifying or enhancing real-world images. The script briefly contrasts image processing with computer graphics, highlighting the different goals and techniques used in each field.

Highlights

Introduction to the course Computer Graphics and its basic concepts.

Exploration of various tasks performed with computers, starting with document processing.

Discussion on the components visible on a computer screen during document creation.

Explanation of how alphanumeric characters are entered using a keyboard.

Importance of menu options and icons as editing tools in document processing interfaces.

Introduction to the concept of CAD (Computer Aided Design) and its interface.

Description of how CAD systems allow for the virtual assembly of machinery parts.

Benefits of using CAD for designing machinery, such as time and cost savings.

Introduction to visualization in computer graphics, including scientific and information visualization.

Example of visualizing a DNA molecule as a form of scientific visualization.

Explanation of information visualization and its application in visualizing computer network traffic.

Overview of the wide range of applications and displays in computer graphics.

Discussion on the commonality of images in various computer graphics applications.

Explanation of how images are constructed from geometric shapes and colors.

Importance of user interaction with images through input devices like mouse and keyboard.

Fundamental questions in computer graphics: representation, synthesis, interaction, and animation.

Overview of the process of rendering images and animations on computer screens.

Differentiation between computer graphics and image processing.

Conclusion and预告 of the next lecture's topics on the historical evolution and challenges in the field.

Transcripts

play00:28

Hello and welcome to the first lecture of the course Computer Graphics.

play00:35

In this lecture we will try to get an overview of the basic idea of graphics and what it

play00:43

means.

play00:44

So, let us begin with a very simple trivial question, what we do with computers?

play00:54

I think most of you will be able to tell that we do lot of things.

play01:02

Let us see some examples, what are the things that we do with a computer.

play01:06

The first example that we will see is related to a document processing task.

play01:12

So essentially we are interested in creating document and let us see what we do there and

play01:25

what we get to see on the screen.

play01:30

On the screen I have shown one example of a document creation going on, this is essentially

play01:38

the creation of the slides from which I am delivering the lecture.

play01:42

So, as you can see there are many things that are being shown on the screen.

play01:49

So, what are those things what are the components that we are seeing on the screen?

play01:57

In fact there are large number of different things, the most important of course because

play02:07

we are talking of document processing activities the most important component is the alpha

play02:16

numeric character.

play02:17

So, there are many such characters the alphabets the numbers and how we enter those characters?

play02:25

By using a keyboard, either physical or virtual.

play02:33

But apart from that there are other equally important components.

play02:40

For example, the menu option that we see here on the top side of the screen.

play02:50

As well as the icons various icons representing some editing tools that we get to see on the

play03:04

top part of the screen.

play03:05

So, here or here in fact all these components are essentially editing tools and the icons

play03:16

representing those tools.

play03:19

We also have the preview slides on the left part which is another important component.

play03:28

So, if you have noted some of these components are shown as text like the alphanumeric characters

play03:35

and the others are shown as images like those icons.

play03:39

So, essentially there is a mix of characters and images that constitute the interface of

play03:46

a typical document processing system.

play03:51

Now, let us see another example which you may or may not have seen but it is also quite

play03:58

common that is essentially CAD interface or Computer Aided Design Interface.

play04:03

So, CAD stands for Computer Aided Design.

play04:10

And this is an example of the interface so there are many difference system with different

play04:15

interfaces what I have shown here is one such example.

play04:20

So, what this systems do, essentially with this system, someone can actually design machinery

play04:36

parts and there are some control buttons to do various operations on this parts.

play04:48

And as you can see the overall part that is the entire image is constructed from individual

play04:58

components like this smaller gears or this cylinder, this cubes smaller components.

play05:10

And these smaller components are having some specified properties for example dimension.

play05:17

So, with this interface then what we can do typically engineers use such interfaces to

play05:28

create machinery by specifying individual components and their properties and try to

play05:37

assemble them virtually.

play05:40

On the screen to check if there is any problem in the specifications.

play05:46

So, clearly since everything is done virtually the engineer does not require any physical

play05:55

development of the machinery, so it saves time it saves cost and many other things.

play06:05

So, that is example 2.

play06:10

Now let us see one more example another interesting example of computer graphics, this is related

play06:17

to visualization or trying to visualize things that otherwise is difficult to visualize.

play06:28

So, under visualization we will see a couple of example the first one is visualization

play06:34

of a DNA molecule, now DNA as you all know stands for Deoxyribonucleic acid is essentially

play06:42

kind of your genetic code present in every cell and it is not possible to see it with

play06:51

our bear eyes as we all know.

play06:55

But it will be good if we can see it somehow in some manner, and application of computer

play07:03

graphics known as visualization makes it possible, like it is shown here.

play07:09

So, this type of visualization is known as scientific visualization where we try to visualize

play07:16

things that occur in nature but we cannot see otherwise or difficult to see.

play07:23

There is another type of visualization, let us see one example, suppose we want to visualize

play07:30

a computer network how traffic flow happens in the network, here by traffic I mean packets

play07:41

the packets that are being moved in the network, in any case we are not in a position to visualize

play07:52

it with our eyes but computer can help us with computer we can actually create a visualization

play07:59

of the network traffic flow.

play08:03

These type of visualization are known as information visualization, here we are not dealing with

play08:11

natural objects instead we are dealing with unnatural or man-made information and we are

play08:18

trying to visualize that information.

play08:21

So, we have two types of visualization: scientific and information.

play08:29

And these are applications of computer graphics that help us perceive that help us understand

play08:38

things that otherwise we will not be able to perceive.

play08:43

So, as I said each of the examples that I have discussed earlier is an example of the

play08:53

use of computer graphics.

play08:59

But these are only three examples in fact the spectrum of such applications of computer

play09:05

graphics is huge and everything that we get to see around us involving computers are basically

play09:17

applications of computer graphics and it is definitely not possible to least all those

play09:24

applications.

play09:28

Also we have to keep in mind that not only desktop or laptop screens we are here talking

play09:35

about a pleather of other types of displays as well that includes mobile phones, information

play09:45

kiosks at popular spots such as airports, ATMs, large displays at open air music concerts,

play09:55

air traffic control panels even movie screens in the theatres all these are some kinds of

play10:06

display and whatever is being shown on this displays are mostly applications of computer

play10:12

graphics.

play10:13

So, we have two things one is large number of application second is application on all

play10:18

possible displays.

play10:22

And as I have already mentioned earlier those who are not very conversion to the inner working

play10:29

of a computer for them whenever we use the term computer essentially the thing that comes

play10:36

to the mind of such lay persons is the display whatever is being shown on the display.

play10:43

So, essentially the display is considered as computer by those who are not very well-accustomed

play10:50

with the inner workings of a computer.

play10:54

Now, what is the common thing between all this applications, instances of images that

play11:03

are displayed?

play11:05

Now, here by image we are refereeing to both text characters alpha numeric characters as

play11:11

well as actual images because texts are also considered as images as we shall see in our

play11:16

subsequent lectures.

play11:22

And these images are constructed with objects components of the objects like we have discussed

play11:27

in the CAD application like there are individual objects as we have seen earlier, now these

play11:40

objects are essentially geometric shapes.

play11:45

And on these objects, we assign some colors like the yellow color here or the blue color

play11:50

here or the white here.

play11:53

So, colored geometric objects are there which are used to create the overall image.

play12:03

Along with that there is a one more thing when we create edit or view a document we

play12:10

are dealing with alphanumeric characters and each of these characters is an object.

play12:17

Again, we shall see in details why characters are considered to be objects in subsequent

play12:24

lectures.

play12:27

And these objects are rendered on the screen with different styles size as well as color.

play12:33

Like the typical objects that we have noted in the previous case.

play12:41

Similarly, if we are using some drawing application drawing package like MS paint or the drawing

play12:50

application of MS word, there we deal with other shapes such as circles, rectangles,

play13:00

curves, these are also objects and with these objects we create a bigger object or bigger

play13:08

image.

play13:09

Finally, in the case of animation videos or computer games which involves animation anyway.

play13:15

In many cases we deal with virtual characters.

play13:22

Those are essentially some artificially created characters which may or may not be human like.

play13:33

And all these images or their components can be manipulated because nowadays most traffic

play13:45

systems are interacting.

play13:46

So, user can interact with the screen content and manipulate the content.

play13:53

For that input devices are there such as mouse, keyboard, joystick and so on.

play14:00

Now, how a computer can do all these stuff, all these things.

play14:09

What are those things?

play14:10

Let us recap again.

play14:12

Images consisting of components so we need to represent those components then we need

play14:17

to put them together into the form of a image and we should allow the user to interact with

play14:23

those components or the whole image through input devices as well as we should be able

play14:27

to create the perception of motion by moving those images.

play14:38

How a computer can do all these things?

play14:43

We all know you probably have already done some basic courses where you know that computers

play14:49

understand only binary language that is language of 0s and 1s, on the other hand in computer

play14:59

graphics what we have letters numbers, symbols characters but these are not 0s or 1s.

play15:11

These are something that we understand we can perceive we can understand.

play15:15

So, what is needed there are two questions related to that.

play15:22

First question is how we can represent such objects in a language that the computer understands

play15:32

and the computer can process.

play15:35

The second question is, how we can map from the computers language to something that we

play15:44

can perceived, so essentially with the computer output in 0s and 1s we will not be able to

play15:48

understand what that means.

play15:50

So, we want again in the form of those objects that we have mentioned earlier.

play15:56

So, one thing is mapping from our understanding to computers language and other thing is mapping

play16:02

from computers understanding to our language.

play16:06

In other words, how we can create or represent synthesize and render images on a computer

play16:15

display this is the fundamental question that we try to answer in computer graphics.

play16:24

From this fundamental question we can frame FOUR component questions.

play16:30

First one is as we have already said imagery is constructed from constituents parts.

play16:38

So, how we can represent those parts that is the first basic question.

play16:46

Second question is how to synthesize the constituents parts to form a complete realistic imagery?

play16:56

So, that is our second question.

play17:00

Third question is how to allow the users to manipulate the imagery or its constituents

play17:12

on the screen with the use of input devices.

play17:17

That is our third fundamental question.

play17:22

And finally, the fourth question is how to create the impression of motion to create

play17:31

animations.

play17:32

So, these are the four questions first is how to represent, second is how to synthesize,

play17:37

third is how to interact and fourth is how to create animation.

play17:41

Now, in computer graphics we see answers to these four basic questions.

play17:48

Here few things need to noted first of all when we are talking of computers screens,

play17:54

we are using it in a very broad sense because the screens vary in a great way as we all

play18:03

are aware nowadays from small displays to display walls to large displays and these

play18:16

variations indicate corresponding variations in the underling computing platform however

play18:20

we will ignore those things when we refer to computers screen will assume that we are

play18:27

refereeing to all sorts of screens.

play18:31

Accordingly, whatever we discuss our objective would be to seek efficient solutions to the

play18:40

four basic questions for all possible platforms.

play18:47

For example, displaying something on mobile phone requires techniques difference from

play18:53

displaying something on your desktop, because the underling hardware may be different.

play19:01

There is a difference in CPU speed, memory capacity, power consumption issues and so

play19:09

on.

play19:10

So, when we are proposing a solution to answer one of these question or all these questions

play19:14

we should keep in mind these underlying variations.

play19:18

Now, in summary what we can say about computer graphics is that this is the process of rendering

play19:27

static images or animation which is a sequence of images on the computer screen, that to

play19:34

in an efficient way, where efficiency essentially refers to the efficient utilization of underlying

play19:43

resources.

play19:46

In this course we shall learn in details this process particularly the stages of the pipeline

play19:57

where the pipeline actually refers to set of stages which are part of this whole process

play20:06

of rendering and pipeline implementation that is how we implement the stages, this involve

play20:13

a discussion on the hardware and software basics for a graphic system.

play20:19

However, we will not discuss the process of creation of animation which is a vast topic

play20:27

in itself and requires a separate course all together.

play20:31

This is just for your information, that there is a related term probably some of you may

play20:36

have heard of it called image processing, now in image processing we manipulate images

play20:42

whereas in computer graphics we synthesize images and also we synthesis it in a way such

play20:49

that it gives us perception of motion that we call animation.

play20:53

So, computer graphics deals with synthesis of image as well as animation, whereas image

play20:58

processing deals with manipulation of already captured images.

play21:06

And in many applications these two are linked but those things will not discuss in this

play21:13

limited scope of the course.

play21:15

So, whatever we have discussed today you can find in details from this book more specifically

play21:28

you should refer to chapter 1, section 1 for the topics that we covered today.

play21:37

In the next lecture we will go through some historical evolution of the field followed

play21:45

by a discussion on the issues and challenges that are faced by workers in this field.

play21:55

Thank you and good bye.

Rate This

5.0 / 5 (0 votes)

相关标签
Computer GraphicsVisual InterfacesDocument ProcessingCAD DesignScientific VisualizationInformation VisualizationImage SynthesisAnimation CreationUser InteractionGraphical Rendering
您是否需要英文摘要?