Commit 71eea386 authored by Olga Stamati's avatar Olga Stamati
Browse files

draft of scripts flowchart

parent e1d4cdcf
Pipeline #65116 passed with stages
in 13 minutes and 43 seconds

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"];
DEF [label="spam-deformImage", color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#pixel-search-script-spam-pixelsearch", target="_top"];
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"];
LDIC [label="spam-ldic", color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#regular-grid-local-dic-script-spam-ldic", target="_top"];
//PASS [label="spam-passPhiField", color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#regular-grid-local-dic-script-spam-ldic", target="_top"];
FILT [label="spam-filterPhiField", color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#regular-grid-local-dic-script-spam-ldic", target="_top"];
STR [label="spam-regularStrain", color="#c46747", fillcolor="#FFEAE6", style="bold, filled", shape=ellipse, href="#regular-grid-local-dic-script-spam-ldic", target="_top"];
// 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;
DEF -> RES;
REGR -> PS[style=dashed, color="#c46747"];
// pixel search
PSR [label="keep Φ field", shape=note, margin=0];
PS -> PSR[label="High CC?"];
//PSR -> RES;
PSR -> DEF;
DEF -> RES;
PSR -> LDIC[style=dashed, color="#c46747"];
// ldic
LDICR [label="keep Φ field", shape=note, margin=0];
LDIC -> LDICR;
LDICR -> DEF;
DEF -> RES;
// filter
LDICR -> QFILT;
FILT -> STR;
}
.. _scriptsTutorial:
.. _scriptsTutorial:
*******************
Scripts in **spam**
*******************
.. graphviz:: graphs/DIC.dot
|
|
|
|
|
**Spam** provides scripts that tie together a number of the functions available in python.
These are expected to be called from the command line (after activating your virtual environment):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment