83
Image/Graphics Movie Animation Text Audio

MMT image & graphics

Embed Size (px)

Citation preview

Page 1: MMT image & graphics

Image/Graphics Movie AnimationText Audio

Page 2: MMT image & graphics

imageandgraphics

Page 3: MMT image & graphics

Agenda

• Raster graphics vs Vector graphics

• Raster graphics

• Raster image formats

• Acquiring an image

• Editing raster images

• Vector graphics

• Vector drawing formats

Page 4: MMT image & graphics

Raster Graphics vs Vector Graphics

Page 5: MMT image & graphics

Raster Graphics vs Vector Graphics

Raster graphics(bitmap image)

Page 6: MMT image & graphics

Raster Graphics vs Vector Graphics

Raster graphics(bitmap image)

Vector graphics(drawing)

Page 7: MMT image & graphics

Raster Graphics vs Vector Graphics

Raster graphics(bitmap image)

Vector graphics(drawing)

Page 8: MMT image & graphics

Raster Graphics vs Vector Graphics

Raster graphics(bitmap image)

Vector graphics(drawing)

Page 9: MMT image & graphics

Raster Graphics vs Vector Graphics

Raster graphics(bitmap image)

Vector graphics(drawing)

Page 10: MMT image & graphics

Raster Graphics vs Vector Graphics

Raster graphics(bitmap image)

Vector graphics(drawing)

Page 11: MMT image & graphics

“Let’s take a look at Google Earth, for live demo...”

Page 12: MMT image & graphics

Raster Graphics

• A raster image is composed of small, independently controlled dots (pixel, picture elements).

• These dots are arranged in rows (x) and column (y), just as information is displayed on computer screens and most printers.

• ‘Bitmap image’ comes from the description of the image pixels by bits and specific (x,y) coordinate.

Page 13: MMT image & graphics

Image Resolution

• Image resolution is described by the number of pixels in its height and width.

• The more pixels in an image, the higher its level of details or clarity.

• The drawback = larger file size.

Page 14: MMT image & graphics

Anti-Aliasing

• Aliasing is the jagged part in a line, curve, or edge that results from an image on a raster grid.

• We call the jagged stairsteplike effect as the “jaggies”.

• Anti-Aliasing diminishes jaggies → smooth edge.

Page 15: MMT image & graphics

Anti-Aliasing

• Aliasing is the jagged part in a line, curve, or edge that results from an image on a raster grid.

• We call the jagged stairsteplike effect as the “jaggies”.

• Anti-Aliasing diminishes jaggies → smooth edge.

Page 16: MMT image & graphics

Anti-Aliasing

• Aliasing is the jagged part in a line, curve, or edge that results from an image on a raster grid.

• We call the jagged stairsteplike effect as the “jaggies”.

• Anti-Aliasing diminishes jaggies → smooth edge.

jaggies

Page 17: MMT image & graphics

Anti-Aliasing

• Aliasing is the jagged part in a line, curve, or edge that results from an image on a raster grid.

• We call the jagged stairsteplike effect as the “jaggies”.

• Anti-Aliasing diminishes jaggies → smooth edge.

jaggies

Page 18: MMT image & graphics

Anti-Aliasing

• Aliasing is the jagged part in a line, curve, or edge that results from an image on a raster grid.

• We call the jagged stairsteplike effect as the “jaggies”.

• Anti-Aliasing diminishes jaggies → smooth edge.

jaggies

Page 19: MMT image & graphics

Anti-Aliasing

• Aliasing is the jagged part in a line, curve, or edge that results from an image on a raster grid.

• We call the jagged stairsteplike effect as the “jaggies”.

• Anti-Aliasing diminishes jaggies → smooth edge.

jaggies

Page 20: MMT image & graphics

Color Depth

• Color depth describes the number of bits used to represent the color of a single pixel in a bitmapped image.

Page 21: MMT image & graphics

Color Depth

• Color depth describes the number of bits used to represent the color of a single pixel in a bitmapped image.

12/18/2006 05:21 PMColor depth - Wikipedia, the free encyclopedia

Page 1 of 4http://en.wikipedia.org/wiki/Color_depth

Color depth

8-bit color

15/16 bit: Highcolor

24/32 bit: Truecolor

Web-safe color

Related

RGB color model

Palette

Color depth

From Wikipedia, the free encyclopedia

Color depth is a computer graphics term describing the number of bits used to represent the

color of a single pixel in a bitmapped image or video frame buffer. This concept is also

known as bits per pixel (bpp), particularly when specified along with the number of bits

used. Higher color depth gives a broader range of distinct colors.

Contents

1 Indexed color

2 Direct color

2.1 HighColor

2.2 LCD Displays

2.3 Truecolor

2.4 32-bit color

2.5 Beyond truecolor

2.5.1 BrilliantColor

3 Selection of color depth

4 See also

5 References

6 External links

Indexed color

With relatively low color depth, the stored value is typically an index into a color map

or palette. The colors available in the palette itself may be fixed by the hardware or

modifiable. Modifiable palettes are sometimes referred to as pseudocolor palettes.

1-bit color (21 = 2 colors) monochrome, often black and white

2-bit color (22 = 4 colors) CGA

4-bit color (24 = 16 colors) as used by EGA and by the least common

denominator VGA standard at higher resolution

6-bit color (26 = 64 colors) Original Amiga chipset

8-bit color (28 = 256 colors) Most early color Unix workstations, VGA at low

resolution, Super VGA, AGA

12-bit color (212 = 4096 colors) some Silicon Graphics systems and Amiga

systems in HAM mode.

Old graphics chips, particularly those used in home computers and video game

consoles, often feature an additional level of palette mapping in order to increase the

maximum number of simultaneously displayed colors. For example, in the ZX

Spectrum, the picture is stored in a two-color format, but these two colors can be

separately defined for each rectangular block of 8x8 pixels.

Direct color

As the number of bits increases, the number of possible colors becomes impractically

Page 22: MMT image & graphics

Color Depth

Color depth No. of colors Color mode Palette

1-bit color 2 Indexed color Yes

4-bit color 16 Indexed color Yes

8-bit color 256 Indexed color Yes

24-bit color 16,777,216 True color No

Page 23: MMT image & graphics

True Color

• In true color images, each pixel is defined in terms of its actual:

• red, green, blue (RGB)

• cyan, magenta, yellow, black (CMYK)

RGB

CMYK

Page 24: MMT image & graphics

Dithering

• Dithering alternates the value of adjacent dots or pixels to create the effect of intermediate values.

• Dithering is useful when performing color reductions.

• Dithered images sometimes look grainy.

Page 25: MMT image & graphics

Dithering

• Dithering alternates the value of adjacent dots or pixels to create the effect of intermediate values.

• Dithering is useful when performing color reductions.

• Dithered images sometimes look grainy.

Page 26: MMT image & graphics

Dithering

Page 27: MMT image & graphics

Dithering

Page 28: MMT image & graphics

Dithering

Page 29: MMT image & graphics

Dithering

Page 30: MMT image & graphics

Image Compression

• Image compression is the application of data compression to digital images.

• Reduce redundancy of the image data for efficient storage or transmission of the image file.

Page 31: MMT image & graphics

Lossless vs Lossy

• Two techniques:

Page 32: MMT image & graphics

Lossless vs Lossy

• Two techniques:

• Lossless - the data are compressed and uncompressed with no loss of information. The amount of compression is limited.

Page 33: MMT image & graphics

Lossless vs Lossy

• Two techniques:

• Lossless - the data are compressed and uncompressed with no loss of information. The amount of compression is limited.

• Lossy - the uncompressed file is not exactly the same as the original. Some loss of minor data occurs. Much greater compression is possible.

Page 34: MMT image & graphics

Raster Image Formats

• Native and nonnative format

• Native - the file is intended to be opened only with the application that was used to create it. (say, PSD of Adobe Photoshop.)

• Nonnative - cross-application compatible, which means that any applications can open and save in this format.

• GIF, JPG, and PNG are most common.

Page 35: MMT image & graphics

GIF (pronounced ‘jif ’)

• Graphics Interchange Format (GIF)

• developed by Compuserve

• uses 8-bit color

• lossless compression, LZW (Lempel-Ziv-Welch) algorithm.

Page 36: MMT image & graphics

GIF

• Best suited for

• simple graphics

• line drawings

• cartoons

• navigation buttons

• image containing text (limited range of colors)

Page 37: MMT image & graphics

GIF

• Best suited for

• simple graphics

• line drawings

• cartoons

• navigation buttons

• image containing text (limited range of colors)

Page 38: MMT image & graphics

GIF

• Best suited for

• simple graphics

• line drawings

• cartoons

• navigation buttons

• image containing text (limited range of colors)

Page 39: MMT image & graphics

GIF

• Best suited for

• simple graphics

• line drawings

• cartoons

• navigation buttons

• image containing text (limited range of colors)

Page 40: MMT image & graphics

GIF

• Best suited for

• simple graphics

• line drawings

• cartoons

• navigation buttons

• image containing text (limited range of colors)

Page 41: MMT image & graphics

GIF (Transparent)

Page 42: MMT image & graphics

GIF89a (Animation)

GIF animation is simply a file with multiple

images stored in it. So, think about the

size.

Page 43: MMT image & graphics

GIF89a (Animation)

GIF animation is simply a file with multiple

images stored in it. So, think about the

size.Oh... and it has no sound....

Page 44: MMT image & graphics

JPG

• Developed by the Joint Photographic Expert Group.

• 24-bit color is allowed

• lossy compression - allow for smaller file size but with the sacrifice of some clarity

Page 45: MMT image & graphics

JPG

☺best for

photographic images (for which a

variety of colors is important)

Page 46: MMT image & graphics

JPG

☺best for

photographic images (for which a

variety of colors is important)

Page 47: MMT image & graphics

JPG

☺best for

photographic images (for which a

variety of colors is important)

Page 48: MMT image & graphics

JPG

☹not suitable for line drawing or

images with text

jpg

gif

Page 49: MMT image & graphics

PNG

• Portable Network Graphics (pronounced ping)

• allow for true color

• lossless compression

• sophisticated transparency

• support by modern web-browsers

Page 50: MMT image & graphics

Raster Image File Formats

• .bmp

• commonly used by MS-Windows

• lossless compression can be specified

• uncompressed in some programs

• .psd

• default proprietary format of Adobe Photoshop

• extra features e.g. layering

Page 51: MMT image & graphics

Raster Image File Formats

• .tiff / .tif

• used extensively for traditional print graphics

• lossy & lossless compression available

Page 52: MMT image & graphics

Acquiring an Image

• Screen capture

• Scanner

• Digital camera & digital VDO camera

• Other sources

Page 53: MMT image & graphics

Screen Capture

Page 54: MMT image & graphics

Screen Capture

Page 55: MMT image & graphics

Screen CaptureAlternatives

OS or

App

Page 56: MMT image & graphics

Scanner

Page 57: MMT image & graphics

Scanner

Page 58: MMT image & graphics

Scanners

Flatbed Sheet-fed

Page 59: MMT image & graphics

Scanners

Handheld Drum

Use photomultiplier tube (PMT) instead of CCD (read more on wiki)

Page 60: MMT image & graphics

TWAINPrior to TWAIN capture in one application

Page 61: MMT image & graphics

TWAINPrior to TWAIN save the file

Page 62: MMT image & graphics

TWAINPrior to TWAIN save the file

Page 63: MMT image & graphics

TWAINPrior to TWAIN

Page 64: MMT image & graphics

TWAINPrior to TWAIN open with another app

Page 65: MMT image & graphics

Using TWAIN

Page 66: MMT image & graphics

Using TWAIN

Page 67: MMT image & graphics

Using TWAIN

It’s ONE STOP.

Page 68: MMT image & graphics

Scanned Image Size (in 24-bit color)

Resolution (dpi)

image dimension

1”x1” 4”x6” 8.5”x11”

72 15 KB 356 KB 1,420 KB

100 29 KB 703 KB 2,739 KB

300 264 KB 6,328 KB 24,653 KB

600 1,055 KB 25,313 KB 98,613 KB

Page 69: MMT image & graphics

Digital Camera & VDO Camera

Page 70: MMT image & graphics

Digital Camera & VDO Camera

Page 71: MMT image & graphics

Digital Camera & VDO Camera

Page 72: MMT image & graphics

Digital Camera & VDO Camera

Page 73: MMT image & graphics

JPEG vs RAW

• Normally, digital cameras save their images in the JPEG format.

• Automatically adjusts: white-balance and all.

• RAW format is exactly what the camera sees when it takes the picture; NO adjustments have been made to the images. BUT, the file is a lot bigger in size...

Page 74: MMT image & graphics

Type of image Min resolution Camera Spec.

Web images 640x480 1 megapixel +

5”x7” 2048x1536 3 megapixels +

8”x10” 2272x1704 4 megapixels +

16”x20” 3072x2048 6 megapixels +

Page 75: MMT image & graphics

Editing Raster Images

• Selecting an Area

• Cropping

• Image resizing & canvas size

• Rotating

• Adjusting the balance

Page 76: MMT image & graphics

Editing Raster Images

• Sharping the contrast

• Adjusting the resolution

• Saving and exporting

Page 77: MMT image & graphics

Vector Graphics

Page 78: MMT image & graphics

Vector Graphics

Page 79: MMT image & graphics

Vector Graphics

Page 80: MMT image & graphics

Vector Graphics

Page 81: MMT image & graphics

3D Modeling

Page 82: MMT image & graphics

Converting Between Vectors & Bitmaps

Page 83: MMT image & graphics

Vector Drawing Formats

• DWG - AutoCAD 2D/3D files

• DXF - Standard ASCII text files storing vector data for CAD programs

• WMF - Windows Metafile (stores vector and raster graphics)

• AI - Vector format for Adobe Illustrator

• CDR - Vector format for CorelDRAW