File: imageprocessing.dot

package info (click to toggle)
openexr 3.4.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 41,948 kB
  • sloc: cpp: 166,793; ansic: 26,769; python: 2,990; sh: 581; makefile: 9
file content (52 lines) | stat: -rw-r--r-- 1,847 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// this is a graphviz dot file to create images/imageprocessing.png used on the SceneLinear.rst page
// This is not built automatically.
// To update:
// dot -Tpng imageprocessing.dot > images/imageprocessing.png
// the 'graphviz' package may be required. Remember to commit the updated images/imageprocessing.png image
//
   digraph "color processing chain" {
    layout = "dot";
    sensor [ label="Sensor",style="filled",fillcolor="gray70"];
    adc [label = "Analog to digital",style="filled",fillcolor="gray80"];
    lin [label = "Linearization",style="filled",fillcolor="gray80"];
    raw [label = "Camera raw file",style="filled",fillcolor="gray80"];
    bayer [label = "Demosaicing",style="filled",fillcolor="gray80"];
    wb [label = "White balance",style="filled",fillcolor="gray80"];
    exr [label = "OpenEXR file",style="filled",fillcolor="gray80"];
    tone [label = "Tone mapping",style="filled",fillcolor="gray80"];
    eotf [label = "Apply EOTF",style="filled",fillcolor="gray80"];
    jpeg [label = "JPEG image file",style="filled",fillcolor="gray80"];
    display [label = "Output display",style="filled",fillcolor="gray70"];

    sensor -> adc -> lin  [weight=10];
    { rank=same adc raw;}
    adc -> raw;
    raw -> lin;
    subgraph cluster_input
    {
      label="Scene-linear";
      labeljust="r";
      fillcolor="gray90";
      peripheries="0";
      graph[style="filled,rounded"];
      lin -> bayer -> wb;
      { rank=same wb exr}
      wb -> exr;
    }
    wb -> tone [weight=10];
    exr ->tone;
    subgraph cluster_output
    {
      label="Display-referred";
      fillcolor="gray90";
      labeljust="r";
      peripheries="0";
      graph[style="filled,rounded"];
      tone -> eotf [weight=10];
      { rank=same eotf jpeg;}
      eotf->jpeg;
    }
    jpeg->display;
    eotf->display [weight=10];
   }