SlideShare une entreprise Scribd logo
1  sur  98
Télécharger pour lire hors ligne
ia Systems
520251: Multimed




            !"#$%&'()*'()*+',-.,/
                              [!"#$%&]
                              29 '+012%/2 2553




                                                 1
Raster vs vector


                   2
Raster Graphics vs Vector Graphics




Raster graphics
(bitmap image)

                                     3
Raster Graphics vs Vector Graphics




Raster graphics       Vector graphics
(bitmap image)           (drawing)

                                        3
Raster Graphics vs Vector Graphics




Raster graphics       Vector graphics
(bitmap image)           (drawing)

                                        4
Raster Graphics vs Vector Graphics




Raster graphics       Vector graphics
(bitmap image)           (drawing)

                                        4
Raster Graphics vs Vector Graphics




Raster graphics       Vector graphics
(bitmap image)           (drawing)

                                        5
Raster Graphics vs Vector Graphics




Raster graphics       Vector graphics
(bitmap image)           (drawing)

                                        5
$%&344 raster
%&'()*+,#-./+ (x,y) 0&1-(#"2 pixel




                                     6
$%&344 raster
34"5' pixel 67)8,)9:5




                        7
$%&344 raster
8,)9:54,);<=,>7?$@1A<$(2&.B+0(C*




                                   8
$%&344 raster
6D+;"2-E .F$#$ pixel 92(G2><=,>7?$@1AH92(




                                            9
#566(/7,849:;2%.
           6<2=2 pixel (resolution)




             lena_color_256.tif,
              256x256, 201 KB

                                                                              lena_color_512.tif,
!"#$%: http://www.imageprocessingplace.com/root_files_V3/image_databases.htm    512x512, 791 KB
                                                                                                    10
#566(/7,849:;2%.
           >=%')?@;A:B, (color depth)




             lena_color_256.tif,                                              lena_gray_256.tif,
              256x256, 201 KB                                                  256x256, 70 KB


!"#$%: http://www.imageprocessingplace.com/root_files_V3/image_databases.htm
                                                                                                   11
Color Depth




!"#$%: http://en.wikipedia.org/wiki/Color_depth
                                                                12
Color Depth




!"#$%: http://en.wikipedia.org/wiki/Color_depth
                                                                12
Color Depth




!"#$%: http://en.wikipedia.org/wiki/Color_depth
                                                                12
Color Depth




!"#$%: http://en.wikipedia.org/wiki/Color_depth
                                                                12
Color Depth




!"#$%: http://en.wikipedia.org/wiki/Color_depth
                                                                12
Color Depth




!"#$%: http://en.wikipedia.org/wiki/Color_depth
                                                                13
Color Depth




!"#$%: http://www.gimvic.org/predmeti/informatika/gradiva/navodila-strani/Uporaba_grafike.html
                                                                                                14
Color Depth




!"#$%: http://www.gimvic.org/predmeti/informatika/gradiva/navodila-strani/Uporaba_grafike.html
                                                                                                15
Color Depth




!"#$%: http://www.gimvic.org/predmeti/informatika/gradiva/navodila-strani/Uporaba_grafike.html
                                                                                                16
%&'0+C$4"2;E8); raster graphics

resolution x color depth
0@6I$I5-1)/%(&JK0(1A-#(B*G2>
(2&>BL$20@6I$I5-1 image processing
   )B5()&DMN90>7A)(2&3!+;O5G2>
   (2&*1*)B+8,)9:5


                                     17
-7>C2C)/,A1#@!DE-@,8/=@(4$%&




                               18
Input




        19
Output




         20
)B5()&DMN9<$(2&3!+;O5G2>


                           21
Anti-aliasing
aliasing = !A/F/(@4!+-=D;A4




                                 22
Anti-aliasing
aliasing = !A/F/(@4!+-=D;A4

             jaggies




                                   22
Anti-aliasing
aliasing = !A/F/(@4!+-=D;A4   anti-aliasing = 7<GFH;A4." smooth

             jaggies




                                                                  22
Anti-aliasing
aliasing = !A/F/(@4!+-=D;A4   anti-aliasing = 7<GFH;A4." smooth

             jaggies




                                                                  22
Anti-aliasing
aliasing = !A/F/(@4!+-=D;A4   anti-aliasing = 7<GFH;A4." smooth

             jaggies




                                                                  22
Anti-aliasing




!"#$%: http://flasheandoblog.wordpress.com/2009/11/29/flash-   !"#$%: http://www.pixelburg.com/am_glossary/
performance-series-quality-adjustments/

                                                                                                            23
Dithering
aliasing = -7>2+>@%!)=:*%'21I/EG2@%!
(-F'JA2@(4)-&+8'#!+'%D color depth
$%/G*H#!+'%DB, (color palette) 7,8',
6<@(.




                                       !"#$%: http://en.wikipedia.org/wiki/Dithering

                                                                                       24
Dithering
aliasing = -7>2+>@%!)=:*%'21I/EG2@%!
(-F'JA2@(4)-&+8'#!+'%D color depth
$%/G*H#!+'%DB, (color palette) 7,8',
6<@(.




                                       !"#$%: http://en.wikipedia.org/wiki/Dithering

                                                                                       24
Dithering




            !"#$%: http://en.wikipedia.org/wiki/Dithering
                                                            25
Dithering




            !"#$%: http://en.wikipedia.org/wiki/Dithering
                                                            25
Dithering




            !"#$%: http://en.wikipedia.org/wiki/Dithering
                                                            25
Dithering




            !"#$%: http://en.wikipedia.org/wiki/Dithering
                                                            25
Dithering




    !"#$%: http://commons.wikimedia.org/wiki/File:Dithering_algorithms.png
                                                                             26
Dithering




!"#$%: http://www.gimvic.org/predmeti/informatika/gradiva/navodila-strani/Uporaba_grafike.html
                                                                                                27
Image Compression
                            ion i s the
                omp    ress
   Ima   ge c                 data
 “
              l icatio  n of           ages.
         app              digi tal im
            ssio   n on              is to
co   mpre               obje  ctive
      n effe ct  , the               f the
    I                   nda  ncy o
        d uce     redu           to be    able
      re             in o rder
        ge da    ta               data   in an
 ima                  tran smit
        sto re or               m....”
   to
               effi   cien t for
                                                 28
Image Compression



lossless       lossy




                       29
lossless




           30
Image Compression



lossless       lossy




                       31
hi-quality comp: 83,261 Bytes                      lossy

                                lo-quality comp: 4,787 Bytes




                                        !"#$%: http://en.wikipedia.org/wiki/Jpeg
                                                                                   32
Image File Format


                    33
JPEG
<=,0@6$D6(2&-")PQ5K3** lossy compression




                                           34
JPEG
<=,0@6$D6(2&-")PQ5K3** lossy compression
  I-$8,)9:5!"#$@1A429$/R-K9);0SC$6#2934(4"2;P+,-2(
  ))(P%




                                                     34
JPEG
<=,0@6$D6(2&-")PQ5K3** lossy compression
  I-$8,)9:5!"#$@1A429$/R-K9);0SC$6#2934(4"2;P+,-2(
  ))(P%
0%T$&:%3**PQ5K@1A$D-9<=,<$ www 92(@1A!/+
(I+-0U>2'G2>V"2-)




                                                     34
JPEG
<=,0@6$D6(2&-")PQ5K3** lossy compression
  I-$8,)9:5!"#$@1A429$/R-K9);0SC$6#2934(4"2;P+,-2(
  ))(P%
0%T$&:%3**PQ5K@1A$D-9<=,<$ www 92(@1A!/+
(I+-0U>2'G2>V"2-)
PQ5K05C(34"0(C*&2-5'0)1-+!:;



                                                     34
JPEG
<=,0@6$D6(2&-")PQ5K3** lossy compression
  I-$8,)9:5!"#$@1A429$/R-K9);0SC$6#2934(4"2;P+,-2(
  ))(P%
0%T$&:%3**PQ5K@1A$D-9<=,<$ www 92(@1A!/+
(I+-0U>2'G2>V"2-)
PQ5K05C(34"0(C*&2-5'0)1-+!:;
0(C*G2>!1P+,S52(S52-6#295N(8);!1

                                                     34
!"#$%: http://upload.wikimedia.org/wikipedia/commons/c/ce/Quality_comparison_jpg_vs_saveforweb.jpg

                                                                                                     35
!"#$%: http://upload.wikimedia.org/wikipedia/commons/c/ce/Quality_comparison_jpg_vs_saveforweb.jpg

                                                                                                     36
!"#$%: http://en.wikipedia.org/wiki/JPEG

                                           37
38
39
JPEG vs JPEG2000




 !"#$%: www.lithium.it/050702_ jp2_qualitvergl_e.jpg

                                                       40
41
JPEG



             ☹
jpg




gif
         not suitable for
         line drawing or
           images with
               text



                            42
43
GIF
<=,0@6$D6(2&-")PQ5K3** lossless
compression (LZW)




                                  44
GIF
<=,0@6$D6(2&-")PQ5K3** lossless
compression (LZW)
6#295N(8);!1P+,0>1-; 8-bit




                                  44
GIF
<=,0@6$D6(2&-")PQ5K3** lossless
compression (LZW)
6#295N(8);!1P+,0>1-; 8-bit
0S92'(B*G2>@1A915B(RJ'52-0!,$ P9"0S92'(B*
G2>V"2-




                                            44
GIF
<=,0@6$D6(2&-")PQ5K3** lossless
compression (LZW)
6#295N(8);!1P+,0>1-; 8-bit
0S92'(B*G2>@1A915B(RJ'52-0!,$ P9"0S92'(B*
G2>V"2-




                                            44
GIF (Transparent)




                    45
GIF89a (Animation)




                     46
PNG
<=,0@6$D6(2&-")PQ5K3** lossless
compression




                                  47
PNG
<=,0@6$D6(2&-")PQ5K3** lossless
compression
true color




                                  47
PNG
<=,0@6$D6(2&-")PQ5K3** lossless
compression
true color
web browser &/"$<S9"E !$B*!$/$ png




                                     47
PNG
<=,0@6$D6(2&-")PQ5K3** lossless
compression
true color
web browser &/"$<S9"E !$B*!$/$ png
!292&V&);&B* transparency @1AWB*W,)$P+,




                                          47
PNG
<=,0@6$D6(2&-")PQ5K3** lossless
compression
true color
web browser &/"$<S9"E !$B*!$/$ png
!292&V&);&B* transparency @1AWB*W,)$P+,




                                          47
I%&3(&94*34";G2>


                   48
49
50
51
52
Acquiring an Image

• Screen capture
• Scanner
• Digital camera & digital VDO camera
• Other sources


                                        53
Scanner




          54
Scanner




          54
Scanners




Flatbed              Sheet-fed



                                 55
Scanners




Handheld                   Drum
                 Use photomultiplier tube (PMT)
               instead of CCD (read more on wiki)
                                                    56
Scanned Image Size (in 24-bit color)
  Resolution
                          image dimension
    (dpi)
                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



                                                        57
Digital Camera & VDO Camera




                              58
Digital Camera & VDO Camera




                              58
Digital Camera & VDO Camera




                              58
Digital Camera & VDO Camera




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


                                                   60
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 +



                                             61
Editing Raster Images

• Selecting an Area
• Cropping
• Image resizing & canvas size
• Rotating
• Adjusting the balance

                                 62
Editing Raster Images


• Sharping the contrast
• Adjusting the resolution
• Saving and exporting


                             63
Vector Graphics



                  64
Vector Graphics




                  65
Vector Graphics




                  66
Vector Graphics




                  66
Vector Graphics




                  66
3D Modeling




              67

Contenu connexe

Similaire à 03 image andgraphics

No deal road show 4 q04
No deal road show   4 q04No deal road show   4 q04
No deal road show 4 q04Braskem_RI
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsKaelig Deloumeau-Prigent
 
Web mapping with vector data. Is it the future ? 2012
Web mapping with vector data. Is it the future ? 2012Web mapping with vector data. Is it the future ? 2012
Web mapping with vector data. Is it the future ? 2012Moullet
 
GIS and Google Earth In Geography
GIS and Google Earth In GeographyGIS and Google Earth In Geography
GIS and Google Earth In GeographyOllie Bray
 
Continuous Integration Saves the Day
Continuous Integration Saves the DayContinuous Integration Saves the Day
Continuous Integration Saves the DayKurt Schrader
 
Drupal, what is it good for?
Drupal, what is it good for?Drupal, what is it good for?
Drupal, what is it good for?Lev Tsypin
 
Dramatically increase revenue on verio template
Dramatically increase revenue on verio templateDramatically increase revenue on verio template
Dramatically increase revenue on verio templateJanine Soika
 
Dramatically increase revenue on verio template
Dramatically increase revenue on verio templateDramatically increase revenue on verio template
Dramatically increase revenue on verio templateJanine Soika
 
Media Mixer semantic technologies for UGC copyright management por Roberto Ga...
Media Mixer semantic technologies for UGC copyright management por Roberto Ga...Media Mixer semantic technologies for UGC copyright management por Roberto Ga...
Media Mixer semantic technologies for UGC copyright management por Roberto Ga...ACTUONDA
 
Buildingplatforms
BuildingplatformsBuildingplatforms
Buildingplatformscodebits
 
20110611 expanded intro-to_puppet_for_self
20110611 expanded intro-to_puppet_for_self20110611 expanded intro-to_puppet_for_self
20110611 expanded intro-to_puppet_for_selfgarrett honeycutt
 
Ruby on Rails 3.1: Let's bring the fun back into web programing
Ruby on Rails 3.1: Let's bring the fun back into web programingRuby on Rails 3.1: Let's bring the fun back into web programing
Ruby on Rails 3.1: Let's bring the fun back into web programingBozhidar Batsov
 
Radical Collaboration: Tools for Partnering with Community Members
Radical Collaboration: Tools for Partnering with Community MembersRadical Collaboration: Tools for Partnering with Community Members
Radical Collaboration: Tools for Partnering with Community MembersNina Simon
 
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrBeyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrJens-Christian Fischer
 
Global deforestation through time. Presentation at ESA
Global deforestation through time. Presentation at ESAGlobal deforestation through time. Presentation at ESA
Global deforestation through time. Presentation at ESAJavier de la Torre
 
Wrangling the CSS Beast with Sass
Wrangling the CSS Beast  with SassWrangling the CSS Beast  with Sass
Wrangling the CSS Beast with SassRob Friesel
 
Biofuel For Transport in Sweden
Biofuel For Transport in SwedenBiofuel For Transport in Sweden
Biofuel For Transport in SwedenLenaDahlman
 
分光光度法快速测定玉米叶片中的叶绿素
分光光度法快速测定玉米叶片中的叶绿素分光光度法快速测定玉米叶片中的叶绿素
分光光度法快速测定玉米叶片中的叶绿素sugeladi
 

Similaire à 03 image andgraphics (20)

No deal road show 4 q04
No deal road show   4 q04No deal road show   4 q04
No deal road show 4 q04
 
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive NewsMobile-first OOCSS, Sass & Compass at BBC Responsive News
Mobile-first OOCSS, Sass & Compass at BBC Responsive News
 
Web mapping with vector data. Is it the future ? 2012
Web mapping with vector data. Is it the future ? 2012Web mapping with vector data. Is it the future ? 2012
Web mapping with vector data. Is it the future ? 2012
 
GIS and Google Earth In Geography
GIS and Google Earth In GeographyGIS and Google Earth In Geography
GIS and Google Earth In Geography
 
FCIP SASS Talk
FCIP SASS TalkFCIP SASS Talk
FCIP SASS Talk
 
Continuous Integration Saves the Day
Continuous Integration Saves the DayContinuous Integration Saves the Day
Continuous Integration Saves the Day
 
04 image andgraphics
04 image andgraphics04 image andgraphics
04 image andgraphics
 
Drupal, what is it good for?
Drupal, what is it good for?Drupal, what is it good for?
Drupal, what is it good for?
 
Dramatically increase revenue on verio template
Dramatically increase revenue on verio templateDramatically increase revenue on verio template
Dramatically increase revenue on verio template
 
Dramatically increase revenue on verio template
Dramatically increase revenue on verio templateDramatically increase revenue on verio template
Dramatically increase revenue on verio template
 
Media Mixer semantic technologies for UGC copyright management por Roberto Ga...
Media Mixer semantic technologies for UGC copyright management por Roberto Ga...Media Mixer semantic technologies for UGC copyright management por Roberto Ga...
Media Mixer semantic technologies for UGC copyright management por Roberto Ga...
 
Buildingplatforms
BuildingplatformsBuildingplatforms
Buildingplatforms
 
20110611 expanded intro-to_puppet_for_self
20110611 expanded intro-to_puppet_for_self20110611 expanded intro-to_puppet_for_self
20110611 expanded intro-to_puppet_for_self
 
Ruby on Rails 3.1: Let's bring the fun back into web programing
Ruby on Rails 3.1: Let's bring the fun back into web programingRuby on Rails 3.1: Let's bring the fun back into web programing
Ruby on Rails 3.1: Let's bring the fun back into web programing
 
Radical Collaboration: Tools for Partnering with Community Members
Radical Collaboration: Tools for Partnering with Community MembersRadical Collaboration: Tools for Partnering with Community Members
Radical Collaboration: Tools for Partnering with Community Members
 
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrBeyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehr
 
Global deforestation through time. Presentation at ESA
Global deforestation through time. Presentation at ESAGlobal deforestation through time. Presentation at ESA
Global deforestation through time. Presentation at ESA
 
Wrangling the CSS Beast with Sass
Wrangling the CSS Beast  with SassWrangling the CSS Beast  with Sass
Wrangling the CSS Beast with Sass
 
Biofuel For Transport in Sweden
Biofuel For Transport in SwedenBiofuel For Transport in Sweden
Biofuel For Transport in Sweden
 
分光光度法快速测定玉米叶片中的叶绿素
分光光度法快速测定玉米叶片中的叶绿素分光光度法快速测定玉米叶片中的叶绿素
分光光度法快速测定玉米叶片中的叶绿素
 

03 image andgraphics