~ubuntu-branches/ubuntu/utopic/gnome-user-docs/utopic-proposed

« back to all changes in this revision

Viewing changes to gnome-help/it/color-whatisspace.page

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-04-01 06:44:41 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20120401064441-kzqieiifcso1lnhe
Tags: 3.4.0-1
* New upstream release.
* Bump Standards-Version to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="question" id="color-whatisspace" xml:lang="it">
 
3
 
 
4
  <info>
 
5
    <link type="guide" xref="color#profiles"/>
 
6
    <link type="seealso" xref="color-whatisprofile"/>
 
7
    <desc>A color space is a defined range of colors.</desc>
 
8
    <credit type="author">
 
9
      <name>Richard Hughes</name>
 
10
      <email>richard@hughsie.com</email>
 
11
    </credit>
 
12
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
 
13
  
 
14
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
 
15
      <mal:name>Luca Ferretti</mal:name>
 
16
      <mal:email>lferrett@gnome.org</mal:email>
 
17
      <mal:years>2011</mal:years>
 
18
    </mal:credit>
 
19
  </info>
 
20
 
 
21
  <title>What is a color space?</title>
 
22
 
 
23
  <p>
 
24
    A color space is a defined range of colors.
 
25
    Well known color spaces include sRGB, AdobeRGB and ProPhotoRGB.
 
26
  </p>
 
27
 
 
28
  <p>
 
29
    The human visual system is not a simple RGB sensor, but we can
 
30
    approximate how the eye responds with a CIE 1931 chromaticity diagram
 
31
    that shows the human visual response as a horse-shoe shape.
 
32
    You can see that in human vision there are many more shades of green
 
33
    detected than blue or red.
 
34
    With a trichromatic color space like RGB we represent the colors
 
35
    on the computer using three values, which restricts up to encoding
 
36
    a <em>triangle</em> of colors.
 
37
  </p>
 
38
 
 
39
  <note>
 
40
    <p>
 
41
      Using models such as a CIE 1931 chromaticity diagram is a huge
 
42
      simplification of the human visual system, and real gamuts are
 
43
      expressed as 3D hulls, rather than 2D projections.
 
44
      A 2D projection of a 3D shape can sometimes be misleading, so if
 
45
      you want to see the 3D hull, use the <code>gcm-viewer</code>
 
46
      application.
 
47
    </p>
 
48
  </note>
 
49
 
 
50
  <figure>
 
51
    <desc>sRGB, AdobeRGB and ProPhotoRGB represented by white triangles</desc>
 
52
    <media type="image" mime="image/png" src="figures/color-space.png"/>
 
53
  </figure>
 
54
 
 
55
  <p>
 
56
    First, looking at sRGB, which is the smallest space and can encode
 
57
    the least number of colors.
 
58
    It is an approximation of a 10 year old CRT display, and so most
 
59
    modern monitors can easily display more colors than this.
 
60
    sRGB is a <em>least-common-denominator</em> standard and is used 
 
61
    in a large number of applications (including the Internet).
 
62
  </p>
 
63
  <p>
 
64
    AdobeRGB is frequently used as an <em>editing space</em>.
 
65
    It can encode more colors than sRGB, which means you can change
 
66
    colors in a photograph without worrying too much that the most vivid
 
67
    colors are being clipped or the blacks crushed.
 
68
  </p>
 
69
  <p>
 
70
    PhoPhoto is the largest space available and is frequently used for
 
71
    document archival.
 
72
    It can encode nearly the whole range of colors detected by the human
 
73
    eye, and even encode colors that the eye cannot detect!
 
74
  </p>
 
75
 
 
76
  <p>
 
77
    Now, if PhoPhoto is clearly better, why don't we use it for everything?
 
78
    The answer is to do with <em>quantization</em>.
 
79
    If you only have 8 bits (256 levels) to encode each channel, then a
 
80
    larger range is going to have bigger steps between each value.
 
81
  </p>
 
82
  <p>
 
83
    Bigger steps mean a larger error between the captured color and the
 
84
    stored color, and for some colors this is a big problem.
 
85
    It turns out that key colors, like skin colors are very important,
 
86
    and even small errors will make untrained viewers notice that something
 
87
    in a photograph looks wrong.
 
88
  </p>
 
89
  <p>
 
90
    Of course, using a 16 bit image is going to leave many more steps and
 
91
    a much smaller quantization error, but this doubles the size of each
 
92
    image file.
 
93
    Most content in existance today is 8bpp, i.e. 8 bits-per-pixel.
 
94
  </p>
 
95
  <p>
 
96
    Color management is a process for converting from one color space to
 
97
    another, where a color space can be a well known defined space like
 
98
    sRGB, or a custom space such as your monitor or printer profile.
 
99
  </p>
 
100
 
 
101
</page>