To use presentation previews, create a Google account and log in to it: https://accounts.google.com
Slide captions:
Raster and vector graphics Lesson topic:
EXAMPLES: RASTER VECTOR Scanned photos Images Pictures Drawings Autoshapes Flowcharts Drawings Objects Word Art WordArt
COMPOSITION: RASTER VECTOR Consists of pixels, for each of which you can set a color. It consists of graphic primitives, for each of which the coordinates of anchor points are specified, as well as the color, thickness and style of the line. X 1 ,Y 1 X 2 ,Y 2 X 1 ,Y 1 X 2 ,Y 2 X,Y R X,Y
FORMATION: RASTER VECTOR When scanning When using digital photo and video cameras When watching TV programs on a computer Using raster graphic editors Using vector graphic editors Using converters in the process of converting raster images into vector drawings
Paint gallery
IMAGE QUALITY: RASTER VECTOR You can create an image that is close to artistic (real). There is always a clear boundary of the object, which gives the image an artificial appearance.
EDITING: RASTER VECTOR Individual pixels or selected fragments. Each object separately.
SCAling: RASTER VECTOR When scaling, the image quality deteriorates (step effect). When scaling, the quality is not lost.
MEMORY SIZE: RASTER VECTOR A drawing takes up a lot of memory, since the color of each pixel is encoded in 2-3 bytes. The image takes up significantly less memory, since only the type of object and its parameters are encoded.
FILE FORMATS: RASTER VECTOR BMR TIFF GIF JPEG PSD PNG WMF SXD FRM CDR EPS CMX BMP WMF JPEG PNG PSD GIF TIFF CDR SXD FRM EPS
Graphic editor is an application program designed for creating and editing graphic images.
GRAPHICS EDITORS: RASTER VECTOR Paint Adobe Photoshop Corel Photo- Paint Photo Finish Micrografx Picture Open Office Image Gimp Portable Corel Draw Adobe Illustrator Micrografx Designer Microsoft Draw Open Office Draw Compass 3-D
Complete the task: Task 1.9 (p. 24) Match each drawing to a type of computer graphics
Homework: §1.2 Prepare for the “Computer Graphics” test
On the topic: methodological developments, presentations and notes
Raster and vector graphics
Subject: Informatics and ICTClass: 7 Program: N.D. Ugrinovich, 2008 Textbook: “Informatics and ICT. 7th grade" N.D. Ugrinovich – BINOM. Knowledge Laboratory, 2007....
COMPUTER IMAGES - Formed from points of different colors (pixels), which form rows and columns - Formed from basic graphic objects, for each of which the coordinates of the reference points are specified, as well as the color, thickness and style of the line of its contour
RASTER GRAPHICS Raster graphic images are formed in the process of converting graphic information from analogue to digital form, for example, during the scanning process, when using digital photo and video cameras, using a graphics editor. Raster graphic images are formed in the process of converting graphic information from analogue to digital form, for example, during the scanning process, when using digital photo and video cameras, using a graphics editor.
When a raster image is reduced, several adjacent dots are converted into one, and therefore the clarity of fine details of the image is lost. When a raster image is reduced, several adjacent dots are converted into one, and therefore the clarity of fine details of the image is lost. Raster images are sensitive to scaling (enlargement or reduction).
When you enlarge the image, the size of each dot increases and a step effect appears that can be seen with the naked eye. When you enlarge the image, the size of each dot increases and a step effect appears that can be seen with the naked eye. Normal image Enlarged image fragment
VECTOR GRAPHICS Vector graphics are the optimal means of storing high-precision graphic objects (drawings, diagrams), for which it is important to maintain clear and clear contours. Vector graphics are the optimal means of storing high-precision graphic objects (drawings, diagrams), for which it is important to maintain clear and clear contours.
Vector images are formed from objects (point, line, circle, rectangle), which are stored in computer memory in the form of graphic primitives and formulas describing them. Vector images are formed from objects (point, line, circle, rectangle), which are stored in computer memory in the form of graphic primitives and formulas describing them. The advantage of vector graphics is that files storing vector graphic images are relatively small in size. The advantage of vector graphics is that files storing vector graphic images are relatively small in size.
Vector graphics objects are described by mathematical formulas. a point is specified by its coordinates (x,y); a point is specified by its coordinates (x,y); line – coordinates of the beginning (x1, y1) and end (x2, y2); line – coordinates of the beginning (x1, y1) and end (x2, y2); circle – coordinates of the center circle – coordinates of the center (x, y) and radius R; (x, y) and radius R; rectangle - the size of the sides and the coordinates of the upper left corner (x1, y1) and lower right corner (x2, y2), etc. rectangle - the size of the sides and the coordinates of the upper left corner (x1, y1) and lower right corner (x2, y2), etc. FOR EACH PRIMITIVE A COLOR IS SET. FOR EACH PRIMITIVE A COLOR IS SET.
Vector graphic images can be enlarged or reduced without loss of quality. (This is possible, since scaling occurs using simple mathematical operations - multiplying the parameters of graphic primitives by a scaling factor) Vector graphic images can be enlarged or reduced without loss of quality. (this is possible, since scaling occurs using simple mathematical operations - multiplying the parameters of graphic primitives by a scaling factor) Normal image Small image Enlarged image
GRAPHICS EDITORS To process images on a computer, special programs are used - graphic editors. A graphics editor is a program for creating, editing and viewing graphic images. A graphics editor is a program for creating, editing and viewing graphic images.
Raster graphic editors are the best means of processing photographs and drawings, since they provide high accuracy in transmitting gradations of colors and halftones. They are the best means of processing photographs and drawings, as they provide high accuracy in transmitting gradations of colors and halftones. Simple raster GR Paint. Simple raster GR Paint.
To create a drawing the traditional way, you need to select the drawing tool from the toolbar. To create a drawing the traditional way, you need to select the drawing tool from the toolbar. Paint Word Selection tools Drawing tools Object creation tools Selection tool settings Object creation tools Drawing tools Grouping, ungrouping, rotation tools Toolbars of raster and vector graphic editors
Questions: 1. Why does its quality deteriorate when a raster image is reduced or enlarged? 2.What are the main differences between raster graphics file formats? 3.What is the difference between raster images and vector images? 4.What graphic (vector or raster) will you use: A) To develop the organization’s logo, taking into account that it will have to be printed on small business cards and large posters; B) for digital photo editing
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_1.jpg)
Computer graphics
A branch of computer science, the subject of which is working on a computer with graphic images (drawings, drawings, photographs, etc.)
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_2.jpg)
Computer
images
Raster
Vector
![](https://i0.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_3.jpg)
Raster images
Raster images are formed from dots of different colors (pixels) that form rows and columns.
![](https://i0.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_4.jpg)
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_5.jpg)
The quality of the raster image depends on:
1. From distance
between neighboring
pixels
2. From quantity
in the image
16x16=256 pixels
1 bit is required to store each pixel
Figure size = 256 bits
256 bits = 32 bytes
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_6.jpg)
Advantages of raster images
- Raster graphics effectively and realistically represent graphic objects and allow you to create (reproduce) almost any drawing, regardless of complexity;
- Prevalence - raster graphics are now used almost everywhere: from small icons to posters;
- High speed of processing complex images;
- Most external devices for inputting photographs, slides, and drawings work with raster graphics (these include scanners, video cameras, digital cameras, graphics tablets)
![](https://i1.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_7.jpg)
Disadvantages of raster images
- Large file sizes with simple images;
- Impossibility of perfect scaling;
![](https://i0.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_8.jpg)
Graphic editor
a program for creating, editing and viewing graphic images.
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_9.jpg)
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_10.jpg)
Vector graphics
Vector graphics are used to store high-precision graphic objects (drawings, drawings, and diagrams) that require crisp, clear outlines.
![](https://i1.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_11.jpg)
Vector graphics
A vector image is created from graphic primitives (points, lines, circles, polygons, etc.) and is described by mathematical formulas.
In this case, the position of the arrow is described by the coordinates of the beginning and end of its constituent lines and mathematical equations.
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_12.jpg)
Advantages of vector graphics
- vector drawings can be enlarged or reduced without loss of quality.
- small information volume of files compared to the volume of files containing raster images.
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_13.jpg)
Disadvantages of Vector Graphics
- Vector graphics do not produce photographic quality images, and not every object can be easily depicted in vector form.
- Converting vector graphics to raster is quite simple. But, as a rule, there is no way back.
- Vector graphics are described in thousands of commands and, when printed, look different than on the monitor.
![](https://i1.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_14.jpg)
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_15.jpg)
BMP – a universal format, i.e. a format that is “understood” by all raster graphics editors.
PNG – an improved version of the GIF format.
![](https://i0.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_16.jpg)
Raster graphics file formats
JPEG– the most common raster format, almost identical to the GIF format. Its main differences are that it uses a different compression algorithm (with loss of information quality) and is not intended for storing animated drawings.
TIFF– also a raster format. It is used in cases where it is necessary to reduce the size of a graphic file without losing its quality. Therefore, this format has found wide application in printing and publishing activities.
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_17.jpg)
Vector graphic file formats
WMF – this format is used to store a collection of Microsoft Clip Gallery graphics.
ODG – proprietary format of the OpenOffice program. orgDraw.
CDR – proprietary format of the CorelDraw program.
SVG– Inkscape's own format.
![](https://i0.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_18.jpg)
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_19.jpg)
Question 1
Graphics represented in computer memory as a collection of points are called:
1) Three-dimensional
2) Fractal
3) Raster
4) Vector
![](https://i1.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_20.jpg)
Question 2
Graphics represented in computer memory in the form of a mathematical description of objects are called:
1) Vector
2) Three-dimensional
3) Fractal
4) Raster
![](https://i0.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_21.jpg)
Question 3
The simplest graphic objects (oval, rectangles, etc.) created by graphic editor tools are called:
1) Geometric objects
2) Pixels
3) Primitives
4) Tools
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_22.jpg)
Question 4
Select graphic file extensions from the list provided.
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_23.jpg)
Question 5
The format that all raster graphics editors understand is ...
![](https://i0.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_24.jpg)
Question 6
Which graphics file format will require the most memory?
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_25.jpg)
Homework
- § 1.2
- Writing in a notebook
![](https://i2.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_26.jpg)
Sources of information
- N.D. Ugrinovich. Computer Science and ICT. 9th grade, M., BINOM, 2010
- M.G. Gilyarov. Informatics. 9th grade. Lesson plans based on the textbook by Ugrinovich N.D. Volgograd, ITD Corypheus, 2009
- Student drawings
- http://images.yandex.ru/
![](https://i1.wp.com/fsd.kopilkaurokov.ru/uploads/user_file_560179c553f98/img_user_file_560179c553f98_27.jpg)
Zagorodnikova Svetlana Nikolaevna,
computer science teacher
MBOU "Secondary school No. 12 with in-depth study of individual subjects" in the city of Biysk
Raster and vector graphics
Completed by a computer science teacher
MBOU secondary school in the village of Starobazanovo Valitova Valentina Nikolaevna
![](https://i2.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img1.jpg)
Computer images
Vector
Raster
![](https://i0.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img2.jpg)
RASTER GRAPHICS
- A raster image is stored using dots of different colors (pixels) that form rows and columns.
![](https://i0.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img3.jpg)
Raster graphics
- Pixel – the minimum area of the image that can be independently assigned a color
Pixel
![](https://i2.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img4.jpg)
The quality of a raster image depends on:
1. Image size
2. Number of colors in the image
![](https://i0.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img5.jpg)
- Large volume
- Large volume
- Zoom Sensitivity
Disadvantages of a raster image:
![](https://i2.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img6.jpg)
Task: determine the information volume of the image
- Determining the number of colors n in the image. In this case the image is black and white, so n=2
- Determining the number of pixels k in the image. k= 7 x 8 = 56 pixels.
![](https://i2.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img7.jpg)
VECTOR GRAPHICS
- Vector images are formed from graphic primitives (points, straight lines, circles, rectangles, etc.)
- In this case, the position of the arrow is described by the coordinates of the beginning and end of its constituent lines and mathematical equations
![](https://i1.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img8.jpg)
- Small volume
- Small volume
- Scaling without loss of quality
Advantages of a vector image:
![](https://i2.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img9.jpg)
Graphic editors
- Graphic editor is a program for creating, editing and viewing graphic images
- Photoshop Paint
- Photoshop
- Paint
- CorelDraw Macromedia Flash MX
- CorelDraw
- Macromedia Flash MX
Raster editors
Vector editors
![](https://i1.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img10.jpg)
Graphic file formats
Method of storing information
Scope of application
Raster
Raster
To exchange data with other applications
In publishing systems
Raster
For storing images with a small number of colors
Raster
For storing photographs and illustrations
Vector
For images created in CorelDraw
![](https://i2.wp.com/fsd.multiurok.ru/html/2018/01/18/s_5a60ec16221a9/img11.jpg)
RESULT OF THE LESSON
- I know what it is:
- Raster graphics; Pixel; Vector graphics; Graphic editor Graphic file formats.
- Raster graphics;
- Pixel;
- Vector graphics;
- Graphic editor
- Graphic file formats.
- I can:
- determine the information volume of a raster image.
HOMEWORK
- Determine the information volume of a raster image measuring 1024 x 768 pixels and consisting of 64 colors
Slide 1
Introduction All computer images, all formats for storing them and all programs for processing them are divided into two large classes - vector and raster - differing primarily in the level of abstraction applied to the image. It can be said that while vector graphics try to imitate the human perception of images, the raster format stores graphics in the form in which they are most easily digested by a computer.Slide 2
![](https://i2.wp.com/bigslide.ru/images/12/11592/389/img1.jpg)
Slide 3
![](https://i1.wp.com/bigslide.ru/images/12/11592/389/img2.jpg)
Slide 4
![](https://i1.wp.com/bigslide.ru/images/12/11592/389/img3.jpg)
Slide 5
![](https://i1.wp.com/bigslide.ru/images/12/11592/389/img4.jpg)
Slide 6
![](https://i1.wp.com/bigslide.ru/images/12/11592/389/img5.jpg)
Slide 7
![](https://i1.wp.com/bigslide.ru/images/12/11592/389/img6.jpg)
Slide 8
![](https://i0.wp.com/bigslide.ru/images/12/11592/389/img7.jpg)