DIC.dot 3.14 KB
Newer Older
Olga Stamati's avatar
Olga Stamati committed
1
2
3
4
5
6
7

digraph G {
    rankdir = "TB";
    RES [label="compute im1(Φ)-im2", shape=parallelogram, margin=-3, target="_top"];

    // scripts
    EREG [label="spam-ereg",          color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#eye-registration-script-spam-ereg"];
Olga Stamati's avatar
Olga Stamati committed
8
    DEF  [label="spam-deformImage",   color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#deform-image-script-spam-deformimage",  target="_top"];
Olga Stamati's avatar
Olga Stamati committed
9
10
    REG  [label="spam-reg",           color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#registration-script-spam-reg", target="_top"];
    PS   [label="spam-pixelSearch",   color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#pixel-search-script-spam-pixelsearch",  target="_top"];
Olga Stamati's avatar
Olga Stamati committed
11
12
    FILT [label="spam-filterPhiField", color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#filtering-script-spam-filterphifield", target="_top"];
    LDIC [label="spam-ldic",  color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#regular-grid-local-dic-script-spam-ldic", target="_top"];
Olga Stamati's avatar
Olga Stamati committed
13
    //PASS [label="spam-passPhiField", color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#regular-grid-local-dic-script-spam-ldic", target="_top"];
Olga Stamati's avatar
Olga Stamati committed
14
    STR  [label="spam-regularStrain", color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#regular-strain-script-spam-regularstrain", target="_top"];
Olga Stamati's avatar
Olga Stamati committed
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

    // questions
    QEREG  [shape=box, label="misaligned images?"];
    QREG   [shape=box, label="homogeneous transformation?"];
    QPS    [shape=box, label="inhomogeneous transformation?"];
    QLDIC  [shape=box, label="not much happening?"];
    QFILT  [shape=box, label="filter Φ field?"];

    // arrows from questions to scripts
    RES   -> QEREG;
    QEREG -> EREG [label="Yes",color="#3BB300"];
    QEREG -> QREG [label="No", color=red];
    QREG  -> REG  [label="Yes",color="#3BB300"];
    QREG  -> QPS  [label="No", color=red];
    QPS   -> PS   [label="Yes",color="#3BB300"];
    QPS   -> QLDIC[label="No", color=red];
    QLDIC -> LDIC [label="Yes",color="#3BB300"];
    QFILT -> FILT [label="Yes",color="#3BB300"];
    QFILT -> STR  [label="No",color=red];

    // results
    // ereg
    EREGR [label="keep Φ", shape=note, margin=-3];
    EREG -> EREGR;
    //EREGR -> RES;
    EREGR -> DEF;
    DEF -> RES;
    EREGR -> REG[style=dashed, color="#c46747"];

    // reg
    REGR [label="keep Φ", shape=note, margin=-3];
    REG -> REGR[label="Converged?"];
    //REGR -> RES;
    REGR -> DEF;
Olga Stamati's avatar
Olga Stamati committed
49
    //DEF -> RES;
Olga Stamati's avatar
Olga Stamati committed
50
    REGR -> PS[style=dashed, color="#c46747"];
Olga Stamati's avatar
Olga Stamati committed
51
    REGR -> LDIC[style=dashed, color="#c46747"];
Olga Stamati's avatar
Olga Stamati committed
52
53
54
55
56

    // pixel search
    PSR  [label="keep Φ field", shape=note, margin=0];
    PS -> PSR[label="High CC?"];
    //PSR -> RES;
Olga Stamati's avatar
Olga Stamati committed
57
    PSR -> DEF//[constraint=false];
Olga Stamati's avatar
Olga Stamati committed
58
59
    //DEF -> RES;
    PSR -> QFILT;
Olga Stamati's avatar
Olga Stamati committed
60
    PSR -> LDIC[style=dashed, color="#c46747"];
Olga Stamati's avatar
Olga Stamati committed
61
    // filter ps
Olga Stamati's avatar
Olga Stamati committed
62
63
64
65

    // ldic
    LDICR [label="keep Φ field", shape=note, margin=0];
    LDIC -> LDICR;
Olga Stamati's avatar
Olga Stamati committed
66
    LDICR -> DEF//[constraint=false];
Olga Stamati's avatar
Olga Stamati committed
67
    //DEF   -> RES;
Olga Stamati's avatar
Olga Stamati committed
68

Olga Stamati's avatar
Olga Stamati committed
69
    // filter ldic
Olga Stamati's avatar
Olga Stamati committed
70
71
72
73
74
75
    LDICR -> QFILT;
    FILT -> STR;


}