Preface

Human evolution is tied to the process of collecting, processing, transferring, and recording information. If people gain most of their most information visually, then computer graphics is one of the generational changes in computer technology. Creating a book on computer graphics is quite challenging given its actual range. Nevertheless, in this book, modern approaches, procedures, algorithms, as well as devices in the area of light and colors, shading and lighting, realistic and photorealistic imaging, definition of graphical scenes or objects, and security based on graphical objects are presented. The book also covers graphical transformations and projections, spatial imaging, curves and surfaces, filling and texturing, image filtering, virtual reality, color imaging and graphics in the service of light-source design, and analytical methods for reflection and refraction, as well as area of visualization. Topological visualization techniques for volume multifield data and "cosmos visualization" and usage of advanced related technologies such as virtual reality and graphics-based security can also be found in this book, whether it's topdown historical reconstruction in virtual reality or new graphical password schemes containing questions-background-pattern.

Finally, I would like to express my gratitude to all the authors for their valuable contributions and professional efforts in providing such precious content.

> **Branislav Sobota, PhD**. Assoc. Prof. Ing. Department of Computers and Informatics, Faculty of Electrical Engineering and Informatics, Technical University of Kosice, Slovak Republic

**1**

present.

**Chapter 1**

*Branislav Sobota*

**1. Introduction**

Introductory Chapter: Computer

Computer graphics is one of the generational changes in computer technology. Its development is so stormy that it has expanded from precious devices designed for military and top industrial applications to schools and households as a common information medium and a medium of education and entertainment. The history of modern computer graphics began to be written after the Second World War. Thenceforth, the area characterized as an area of technical and natural sciences dealing with the graphical information processing using a computer was named computer graphics. The graphical information is much more intelligible and clear for human than, for example, information in numerical form. A computer graphics affects our daily live. Computer graphics helped to mass-expand computers, and it removed the barriers that ordinary people feel when working with them [1] (they are "flooded" with columns of numbers and text and they are drawn into a world

As can be seen from the previous words, human evolution is tied to the process of collecting, processing, transferring, and recording of information. If we add that most people are gaining the most information by sight, then modern computers are

However, the history of computer graphics dates back much earlier. Already Johannes Gutenberg discovered and introduced the basic technology of human information transfer—letterpress, in the years 1444–1448. Genius Leonardo da Vinci examined relationships of science and art around the same period (1452– 1515). Joseph Marie Jacquard introduced a loom controlled by punch cards ("a printer predecessor?") in the years 1805–1808. But W. B. Hales created the first analog computer drawings in the years 1944–1945. Ivan Moscovich designed a drawing machine in 1951. A year later, Ben F. Laposky exposed analog computer graphics in Cherokee Sanford Museum in the USA. Then more and more attention was paid to computer graphics, and the result is already well known in

Yes, this is the evolution of the computer graphics phenomenon. The phenomena that are increasingly gaining interest in the eyes of the lay public are the following:

• Communication form with computers and user interfaces? Computer graphics

• Design of cars and consumer electronic products? Computer graphics

• Design of buildings and interiors? Computer graphics

• Newspapers, magazines, and catalogs? Computer graphics

Graphics and Imaging

where they cannot be orientated oneself).

already greatly helping them.

## **Chapter 1**

## Introductory Chapter: Computer Graphics and Imaging

*Branislav Sobota*

## **1. Introduction**

Computer graphics is one of the generational changes in computer technology. Its development is so stormy that it has expanded from precious devices designed for military and top industrial applications to schools and households as a common information medium and a medium of education and entertainment. The history of modern computer graphics began to be written after the Second World War. Thenceforth, the area characterized as an area of technical and natural sciences dealing with the graphical information processing using a computer was named computer graphics. The graphical information is much more intelligible and clear for human than, for example, information in numerical form. A computer graphics affects our daily live. Computer graphics helped to mass-expand computers, and it removed the barriers that ordinary people feel when working with them [1] (they are "flooded" with columns of numbers and text and they are drawn into a world where they cannot be orientated oneself).

As can be seen from the previous words, human evolution is tied to the process of collecting, processing, transferring, and recording of information. If we add that most people are gaining the most information by sight, then modern computers are already greatly helping them.

However, the history of computer graphics dates back much earlier. Already Johannes Gutenberg discovered and introduced the basic technology of human information transfer—letterpress, in the years 1444–1448. Genius Leonardo da Vinci examined relationships of science and art around the same period (1452– 1515). Joseph Marie Jacquard introduced a loom controlled by punch cards ("a printer predecessor?") in the years 1805–1808. But W. B. Hales created the first analog computer drawings in the years 1944–1945. Ivan Moscovich designed a drawing machine in 1951. A year later, Ben F. Laposky exposed analog computer graphics in Cherokee Sanford Museum in the USA. Then more and more attention was paid to computer graphics, and the result is already well known in present.

Yes, this is the evolution of the computer graphics phenomenon. The phenomena that are increasingly gaining interest in the eyes of the lay public are the following:


Yes, the impact of computer graphics on our lives is really significant. It is already very difficult to find an area in which the use of computer graphics would be no importance in present. It is important not only for processing, for example, images or drawings, but also because for the graphical user interface usage. Here are some trends in computer graphics usage:


These are trends and especially application areas of computer graphics and image processing. Computer graphics is a tool in these cases. Of course, computer graphics is also the subject of research or study.

Approximately 80% of the information is gained by sight. This has been already mentioned above. Therefore, light and colors in the process of visualization (and thus also in computer graphics) play a dominant role [2]. This dominant attribute is also used to process images or to work with graphics. From a physical point of view, light is understood as two things:


In this case, it is electromagnetic waves in the 108 Hz range. From the point of view of color, each color corresponds to a certain frequency. The range of colors ranges from red (3.8 × 108 Hz, beyond the visible spectrum continues to infrared) to purple (7.8 × 108 Hz, going beyond the visible spectrum to ultraviolet). Within the visible spectrum, a person is able to distinguish more than 4 × 105 different colors and their shades. According to the frequency transmitted by the light source, the light can be divided into:

• *Achromatic* light—this light is also called white light and contains all colors (a typical source is the sun). The combination of frequencies reflected by the

**3**

*Introductory Chapter: Computer Graphics and Imaging DOI: http://dx.doi.org/10.5772/intechopen.85518*

body creates essentially a body color. If the frequency prevails over a certain

• *Color*—the basic attribute of light depends on the already mentioned frequency

• *Brightness*—in fact, the intensity of light and the brightness of the light source

• *Saturation*—saturation of color indicates its purity; the higher the saturation, the

An important factor is the split of colors. There is a question as to whether there are certain basic colors, by the composition of which all others would be created. There are, however, complementary colors combined with white light. For multiple colors, a standard was created in the form of the chromatic diagram. However, the chromatic diagram does not determine which base colors the others will be composed of or their ratio. Also some chapters in this book contain description of some

Historically, computer graphics devoted much to transformations. Yes, a geometric transformation, an imaging and morphing of models or objects, is one of the most common tasks of computer graphics systems [3]. In order to manipulate with graphical objects in computer graphics, it is necessary first to define the manipulation space. Its basic property is its dimension. This dimension can be numeric or non-numeric. There are several numerical dimensions in terms of their character: topological dimension, Hausdorff (fractal) dimension, self-similarity dimension, capacity dimension, and also non-numerical dimensions, for example, information dimension, etc. All definitions of these dimensions are relative. The most used dimension is the topological dimension expressed in integer terms. The topological dimension is the range of objects commonly used in the math. Thus, the topological dimension can be also understood intuitively. With regard to the topological dimension, the most commonly used objects are:

All geometric objects convertible by continuous transformation to the above objects have the same topological dimension (e.g., a curve is assigned to a line, a plane is assigned to a surface, etc.). Typically processed objects are divided into vector and raster [1]. However, in order for the transformations to be made, it is necessary to define certain coordinate systems in respect of which the transformations are carried out. The transformations used in computer graphics are used for

• *Lightness*—this is actually the size of the achromatic component in the light

spectrum, we are talking about the dominant frequency.

• *Monochrome* light—this light is of only one color (e.g., red).

narrower the spectrum of frequencies contained in the light.

light and color areas with the impact to/from modern computer graphics.

Light is characterized by several of its attributes:

are in direct proportion to the intensity.

with a certain dominant frequency.

• Zero-dimensional object (a point)

• One-dimensional object (a line, a curve)

• Two-dimensional object (an area, a surface)

• Three-dimensional object (a solid, a body)

(or wavelength).

*Computer Graphics and Imaging*

• Weather forecast? Computer graphics

• ... and plenty other examples …

some trends in computer graphics usage:

• Computer-aided drawing and design

• Image processing and cryptography

graphics is also the subject of research or study.

In this case, it is electromagnetic waves in the 108

trum, a person is able to distinguish more than 4 × 105

• Computer games

its technologies

light is understood as two things:

• *Particles* (photons)

• *Waves*

red (3.8 × 108

(7.8 × 108

• Computer games and entertainment? Computer graphics

• Goods packages in the shops? Computer graphics

• Film, video, and advertisement? Computer graphics

• Business and management graphics or advertisement

• Visual simulation and scientific result visualization

• Presentation of an economic, electoral, or statistical results? Computer graphics

Yes, the impact of computer graphics on our lives is really significant. It is already very difficult to find an area in which the use of computer graphics would be no importance in present. It is important not only for processing, for example, images or drawings, but also because for the graphical user interface usage. Here are

• Multimedia, show business, photorealism, user interfaces, or virtual reality and

Approximately 80% of the information is gained by sight. This has been already mentioned above. Therefore, light and colors in the process of visualization (and thus also in computer graphics) play a dominant role [2]. This dominant attribute is also used to process images or to work with graphics. From a physical point of view,

of color, each color corresponds to a certain frequency. The range of colors ranges from

According to the frequency transmitted by the light source, the light can be divided into:

• *Achromatic* light—this light is also called white light and contains all colors (a typical source is the sun). The combination of frequencies reflected by the

Hz, beyond the visible spectrum continues to infrared) to purple

Hz, going beyond the visible spectrum to ultraviolet). Within the visible spec-

Hz range. From the point of view

different colors and their shades.

These are trends and especially application areas of computer graphics and image processing. Computer graphics is a tool in these cases. Of course, computer

**2**

body creates essentially a body color. If the frequency prevails over a certain spectrum, we are talking about the dominant frequency.

• *Monochrome* light—this light is of only one color (e.g., red).

Light is characterized by several of its attributes:


An important factor is the split of colors. There is a question as to whether there are certain basic colors, by the composition of which all others would be created. There are, however, complementary colors combined with white light. For multiple colors, a standard was created in the form of the chromatic diagram. However, the chromatic diagram does not determine which base colors the others will be composed of or their ratio. Also some chapters in this book contain description of some light and color areas with the impact to/from modern computer graphics.

Historically, computer graphics devoted much to transformations. Yes, a geometric transformation, an imaging and morphing of models or objects, is one of the most common tasks of computer graphics systems [3]. In order to manipulate with graphical objects in computer graphics, it is necessary first to define the manipulation space. Its basic property is its dimension. This dimension can be numeric or non-numeric. There are several numerical dimensions in terms of their character: topological dimension, Hausdorff (fractal) dimension, self-similarity dimension, capacity dimension, and also non-numerical dimensions, for example, information dimension, etc. All definitions of these dimensions are relative. The most used dimension is the topological dimension expressed in integer terms. The topological dimension is the range of objects commonly used in the math. Thus, the topological dimension can be also understood intuitively. With regard to the topological dimension, the most commonly used objects are:


All geometric objects convertible by continuous transformation to the above objects have the same topological dimension (e.g., a curve is assigned to a line, a plane is assigned to a surface, etc.). Typically processed objects are divided into vector and raster [1]. However, in order for the transformations to be made, it is necessary to define certain coordinate systems in respect of which the transformations are carried out. The transformations used in computer graphics are used for

geometrical transformations. In the case of projections, the perspective projection is the most common. Other approaches are the axonometric projection and combinations of different projections and views. A more recent method is a 3D object morphing transformation in terms of control elements of modeling means. In terms of simulation, it is either morphing an object in a time continuum (e.g., an aging, a disintegration, etc.) or morphing an object after an interaction (a collision). In general, both defining and modeling, as well as subsequent transformations or object projections, are among the basic processes applied in computer graphics. In these cases, the curves and surfaces are often used also for graphical object definition or modeling. But the curves and surfaces are used in the computer graphics area, in particular, for two reasons. The first one, mentioned above, is their usage in the area of graphical object modeling. The second reason, nowadays, with a rising trend, is to use them "in the background" as the control attributes of various activities used in the computer graphics.

Each curve or surface must have its mathematical description for a possibility to perform various transformations with a curve/surface, such as shifts, rotations, or scale changes [3]. They are also used for 3D scanning post-processing. Here you can use these curves/surfaces designed in different shapes but with one big plus. This represents the knowledge of the mathematical notation (equations) of a curve or surface. Thus, it is possible, for example, to easily calculate the length of curve and surface area or simply shape it. Overall, it is not necessary to work with all curve/surface points but only with some curve/surface control points. The nonuniform rational B-spline (NURBS) curves/surfaces are the most flexible and also most applicable. Some curves and surfaces are usable also in some cases of special type of displaying.

It is also possible to use 3D displays instead of 2D ones (the examples of 3D displays are volumetric and holographic displays). Then a visualization and visibility solution are no longer needed. These types of displays are still relatively low-robust and lowperformance devices at a very high cost. However, this does not mean that their usage is irrelevant in the future.

The performance of current computing systems allows the real-time displaying of spatial objects [4]. The results from this area are already widely used in architecture, engineering, and film (movie) industry. Displaying spatial objects began to develop with the development of the first graphical display units. Initially, it was the display of simple wire-frame models. Next, the surface of the body itself was displayed, but it was only a matter of filling the object surface with one color or simple shading. In addition, the algorithms have been developed to allow photorealistic imaging of spatial objects, allowing the display of shadows and reflections on object surfaces. But even so, it was only a piece of information about a three-dimensional space that did not allow or in part to gain spatial information from a given output. The solution, though it seems to be only partial, is to explore and exploit the very way in which human receives visual information and thus an examination and an exploitation of spatial vision.

Stereoscopic imaging is between 2D and 3D displaying but bringing to a viewer a sense of depth or space [5]. Stereoscopic vision is one of the basic characteristics and abilities of people, as well as many other forms of life on Earth. The stereoscopic projection is based on the principle of displaying different images into each eye through a special device such as glasses with different colored glasses (anaglyph), switchable glasses, polarizing glasses, stereoscopes, or helmets/glasses for virtual reality (also with mobile devices usage). For example, a color space image can be seen by an observer through switchable glasses. On the displaying device, the image for the left and the right eye is alternately displayed, and the right and the left eye are obscured in sync for the observer. The color space image can be seen also by the observer through the polarizing glasses. Both the left and right eye images are simultaneously displayed on the displaying device, but they are polarized in

**5**

**Figure 1.**

*visualization in this environment.*

*Introductory Chapter: Computer Graphics and Imaging DOI: http://dx.doi.org/10.5772/intechopen.85518*

perpendicular planes. Overall, the perceived depth of the image is an important part

The development of new technologies within computer systems and within modern computer graphics too is taking on a dizzying pace. One of the areas where progress is most noticeable on a daily basis is undeniably virtual reality (next VR) and its related technologies [6]. VR uses computer graphics in a wide range. A virtual reality system is an interactive computer system that is capable of creating an illusion of physical presence in an imaginary or near-real world, synthesized by the VR system. A VR system provides a perfect simulation in a tightly-bound human-computer interaction environment. Thanks to the technological advances and decreasing prices, various VR devices are becoming more common in research, industry and entertainment. These are, in terms of mass interest, resulting of financial returns, a long-term "draft horse" of technological advances in associated technologies including computer graphics. Despite the indisputable advantages that the modern solutions of the VR provide, it is not a common practice to use them within a professional environment. Primary, systems based on classic user inputs and outputs such as a keyboard, a mouse, and a conventional 2D monitor continue to dominate. Although interfaces are an important feature of VR systems, they are not only the one and at all not main. The ability to create an illusion of physical presence in synthesized space, or to influence the real space with synthetic elements, can be considered dominant. The first imagination of the perfect VR was presented in the cult movie "The Matrix" and its continuations. What is real and what is virtual? VR systems provide a better experience, and they are more interactive, but the complexity of their implementation is very high. VR subsystems are divided according to senses that affect visualization subsystem, acoustic subsystem, kinetic and statokinetic subsystem, touch and contact subsystem, and other senses (e.g., smell, taste, pheromone sensitivity, etc.). Some senses commonly perceived in the real world do not have much importance to implement in the virtual world at present. However,

*Virtual cave in laboratory LIRKIS at technical University of Košice and the examples of immersive* 

of modern type displaying, for example, in virtual reality systems.

#### *Introductory Chapter: Computer Graphics and Imaging DOI: http://dx.doi.org/10.5772/intechopen.85518*

*Computer Graphics and Imaging*

in the computer graphics.

irrelevant in the future.

geometrical transformations. In the case of projections, the perspective projection is the most common. Other approaches are the axonometric projection and combinations of different projections and views. A more recent method is a 3D object morphing transformation in terms of control elements of modeling means. In terms of simulation, it is either morphing an object in a time continuum (e.g., an aging, a disintegration, etc.) or morphing an object after an interaction (a collision). In general, both defining and modeling, as well as subsequent transformations or object projections, are among the basic processes applied in computer graphics. In these cases, the curves and surfaces are often used also for graphical object definition or modeling. But the curves and surfaces are used in the computer graphics area, in particular, for two reasons. The first one, mentioned above, is their usage in the area of graphical object modeling. The second reason, nowadays, with a rising trend, is to use them "in the background" as the control attributes of various activities used

Each curve or surface must have its mathematical description for a possibility to perform various transformations with a curve/surface, such as shifts, rotations, or scale changes [3]. They are also used for 3D scanning post-processing. Here you can use these curves/surfaces designed in different shapes but with one big plus. This represents the knowledge of the mathematical notation (equations) of a curve or surface. Thus, it is possible, for example, to easily calculate the length of curve and surface area or simply shape it. Overall, it is not necessary to work with all curve/surface points but only with some curve/surface control points. The nonuniform rational B-spline (NURBS) curves/surfaces are the most flexible and also most applicable. Some curves and surfaces are usable also in some cases of special type of displaying. It is also possible to use 3D displays instead of 2D ones (the examples of 3D displays are volumetric and holographic displays). Then a visualization and visibility solution are no longer needed. These types of displays are still relatively low-robust and lowperformance devices at a very high cost. However, this does not mean that their usage is

The performance of current computing systems allows the real-time displaying of spatial objects [4]. The results from this area are already widely used in architecture, engineering, and film (movie) industry. Displaying spatial objects began to develop with the development of the first graphical display units. Initially, it was the display of simple wire-frame models. Next, the surface of the body itself was displayed, but it was only a matter of filling the object surface with one color or simple shading. In addition, the algorithms have been developed to allow photorealistic imaging of spatial objects, allowing the display of shadows and reflections on object surfaces. But even so, it was only a piece of information about a three-dimensional space that did not allow or in part to gain spatial information from a given output. The solution, though it seems to be only partial, is to explore and exploit the very way in which human receives visual

Stereoscopic imaging is between 2D and 3D displaying but bringing to a viewer a sense of depth or space [5]. Stereoscopic vision is one of the basic characteristics and abilities of people, as well as many other forms of life on Earth. The stereoscopic projection is based on the principle of displaying different images into each eye through a special device such as glasses with different colored glasses (anaglyph), switchable glasses, polarizing glasses, stereoscopes, or helmets/glasses for virtual reality (also with mobile devices usage). For example, a color space image can be seen by an observer through switchable glasses. On the displaying device, the image for the left and the right eye is alternately displayed, and the right and the left eye are obscured in sync for the observer. The color space image can be seen also by the observer through the polarizing glasses. Both the left and right eye images are simultaneously displayed on the displaying device, but they are polarized in

information and thus an examination and an exploitation of spatial vision.

**4**

perpendicular planes. Overall, the perceived depth of the image is an important part of modern type displaying, for example, in virtual reality systems.

The development of new technologies within computer systems and within modern computer graphics too is taking on a dizzying pace. One of the areas where progress is most noticeable on a daily basis is undeniably virtual reality (next VR) and its related technologies [6]. VR uses computer graphics in a wide range. A virtual reality system is an interactive computer system that is capable of creating an illusion of physical presence in an imaginary or near-real world, synthesized by the VR system. A VR system provides a perfect simulation in a tightly-bound human-computer interaction environment. Thanks to the technological advances and decreasing prices, various VR devices are becoming more common in research, industry and entertainment. These are, in terms of mass interest, resulting of financial returns, a long-term "draft horse" of technological advances in associated technologies including computer graphics. Despite the indisputable advantages that the modern solutions of the VR provide, it is not a common practice to use them within a professional environment. Primary, systems based on classic user inputs and outputs such as a keyboard, a mouse, and a conventional 2D monitor continue to dominate. Although interfaces are an important feature of VR systems, they are not only the one and at all not main. The ability to create an illusion of physical presence in synthesized space, or to influence the real space with synthetic elements, can be considered dominant. The first imagination of the perfect VR was presented in the cult movie "The Matrix" and its continuations. What is real and what is virtual? VR systems provide a better experience, and they are more interactive, but the complexity of their implementation is very high. VR subsystems are divided according to senses that affect visualization subsystem, acoustic subsystem, kinetic and statokinetic subsystem, touch and contact subsystem, and other senses (e.g., smell, taste, pheromone sensitivity, etc.). Some senses commonly perceived in the real world do not have much importance to implement in the virtual world at present. However,

#### **Figure 1.**

*Virtual cave in laboratory LIRKIS at technical University of Košice and the examples of immersive visualization in this environment.*

#### *Computer Graphics and Imaging*

the visualization subsystem is the most important, and so computer graphics is at the first place in this case. Visual immersion is very important. The virtual cave [7] in the LIRKIS laboratory at the Technical University in Košice and the examples of immersive visualizations within this cave are shown in **Figure 1**.

The abovementioned areas of computer graphics are just some of the wide range of current computer graphics. The overview of modern approaches, procedures, algorithms, as well as devices in the area of definition of graphical scenes and objects, light and colors, graphical transformations and graphical libraries and systems, projections, curves and surfaces used in computer graphics, visibility solving, filling and texturing, shading and lighting, realistic and photorealistic imaging, stereoscopy and spatial imaging, image filtering or user interfaces, and virtual reality should be the content of this book.

## **Author details**

Branislav Sobota Technical University of Košice, Slovakia

\*Address all correspondence to: branislav.sobota@tuke.sk

© 2019 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/ by/3.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

**7**

*Introductory Chapter: Computer Graphics and Imaging DOI: http://dx.doi.org/10.5772/intechopen.85518*

[1] Foley J, et al. Computer Graphics— Principles and Practice, corr. sec. edit. Reading, Massachusetts: Addison-Wesley; 1997. rep 2006. p. 545. ISBN:

[2] Gonzales RC, Wintz P. Digital Image Processing. 2nd ed. Reading, Massachusetts: Addison-Wesley; 1987.

Fundamentals of Computer Graphics. 3rd ed. USA: A K Peters Ltd.; 2009. p. 745. ISBN: 978-1-56881-469-8

[5] Kuszter V, Brunnett G, Pietschmann D.

interaction with individual views. In: 2014 International Conference on Cyberworlds

p. 503. ISBN: 978-0201110265

[4] Akenine-Möller T, Haines E, Hoffman N. Real-Time Rendering. 4th ed. A K Peters/CRC Press; 2018. p. 1198. ISBN: 978-1138627000

Exploring stereoscopic multi-user

[6] Korečko Š, Hudák M, Sobota B. LIRKIS CAVE: Architecture, Performance and Applications. In: Acta Polytechnica Hungarica: An International Peer-Reviewed Scientific Journal of Óbuda University, Hungarian Academy of Engineering and IEEE Hungary Section: Journal of Applied Sciences. Budapest Óbuda University. 2019;**16**(2):199-218. ISSN 1785-8860

[7] Hudák M, Korečko Š, Sobota B. Special input devices integration to LIRKIS CAVE. In: Open Computer Science. 2018;**8**(1):1-9. ISSN: 2299-1093

(CW). IEEE; 2014. pp. 101-106

[3] Shirley P, Marschner S.

978-0-201-60921-9

**References**

*Introductory Chapter: Computer Graphics and Imaging DOI: http://dx.doi.org/10.5772/intechopen.85518*

## **References**

*Computer Graphics and Imaging*

reality should be the content of this book.

**6**

**Author details**

Branislav Sobota

provided the original work is properly cited.

Technical University of Košice, Slovakia

\*Address all correspondence to: branislav.sobota@tuke.sk

© 2019 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/ by/3.0), which permits unrestricted use, distribution, and reproduction in any medium,

the visualization subsystem is the most important, and so computer graphics is at the first place in this case. Visual immersion is very important. The virtual cave [7] in the LIRKIS laboratory at the Technical University in Košice and the examples of

The abovementioned areas of computer graphics are just some of the wide range of current computer graphics. The overview of modern approaches, procedures, algorithms, as well as devices in the area of definition of graphical scenes and objects, light and colors, graphical transformations and graphical libraries and systems, projections, curves and surfaces used in computer graphics, visibility solving, filling and texturing, shading and lighting, realistic and photorealistic imaging, stereoscopy and spatial imaging, image filtering or user interfaces, and virtual

immersive visualizations within this cave are shown in **Figure 1**.

[1] Foley J, et al. Computer Graphics— Principles and Practice, corr. sec. edit. Reading, Massachusetts: Addison-Wesley; 1997. rep 2006. p. 545. ISBN: 978-0-201-60921-9

[2] Gonzales RC, Wintz P. Digital Image Processing. 2nd ed. Reading, Massachusetts: Addison-Wesley; 1987. p. 503. ISBN: 978-0201110265

[3] Shirley P, Marschner S. Fundamentals of Computer Graphics. 3rd ed. USA: A K Peters Ltd.; 2009. p. 745. ISBN: 978-1-56881-469-8

[4] Akenine-Möller T, Haines E, Hoffman N. Real-Time Rendering. 4th ed. A K Peters/CRC Press; 2018. p. 1198. ISBN: 978-1138627000

[5] Kuszter V, Brunnett G, Pietschmann D. Exploring stereoscopic multi-user interaction with individual views. In: 2014 International Conference on Cyberworlds (CW). IEEE; 2014. pp. 101-106

[6] Korečko Š, Hudák M, Sobota B. LIRKIS CAVE: Architecture, Performance and Applications. In: Acta Polytechnica Hungarica: An International Peer-Reviewed Scientific Journal of Óbuda University, Hungarian Academy of Engineering and IEEE Hungary Section: Journal of Applied Sciences. Budapest Óbuda University. 2019;**16**(2):199-218. ISSN 1785-8860

[7] Hudák M, Korečko Š, Sobota B. Special input devices integration to LIRKIS CAVE. In: Open Computer Science. 2018;**8**(1):1-9. ISSN: 2299-1093

Chapter 2

Design

Abstract

literature.

9

user education

1. Introduction

Color Graphics in the Service of

Light-Source Visualization and

In the world of lighting engineering, one of the most active areas of research and industrial application is in the definition of the color rendering properties of light sources. There is a current international standard, and several new methods have been proposed over the last decade. Ordinary consumers are frequently left with little or no knowledge of how to interpret the numerical data produced by any of these systems. This situation has been exacerbated with the advent of LED light sources with widely differing properties. Certain LEDs yield very different results depending on the particular metric in use. We have designed a color graphical system that allows a user to pick a set of (typically) 16 surface color samples, and to be given a realistic comparison of the colors when illuminated by two different light sources, shown on a side-by-side display on a color monitor. This provides a visual analogy to the computations built into the above-mentioned metrics, all of which are based on comparison techniques. This chapter will provide an insight into the design and operation of our lighting computer graphics visualization system. Mention will also be made of similar systems that may be found in the published

Keywords: color rendering, light sources, color graphics, comparison display,

isons between light sources, both existing and conceptual.

The purpose of the design is to display of a set of surface color patches as if they were illuminated by a specific light source, with the simultaneous display of two such sets to demonstrate the surface color differences arising from two different light sources. The approach was to implement a combination of computer graphics and image processing to generate displays providing the visualization of the color rendering properties of a range of different light sources, and to facilitate compar-

Color rendering has been defined by the Commission Internationale de l'Eclairage: International Commission on Illumination (CIE) as the "effect of an illuminant on the perceived color of objects by conscious or subconscious comparison with their perceived color under a reference illuminant" [1]. The necessity for a means of defining the color rendering of light sources derives from the fact that human color vision possesses the property of metamerism. This can be defined as a perceived

Lulu Wang and Andrew N. Chalmers

## Chapter 2
