Skip to content

Commit 40adf33

Browse files
committed
deploy: 0b69da5
1 parent aa93f84 commit 40adf33

7 files changed

Lines changed: 817 additions & 40 deletions

File tree

pull/112/index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pull/112/tags/basic/index.html

Lines changed: 34 additions & 1 deletion
Large diffs are not rendered by default.

pull/112/tags/basic/index.xml

Lines changed: 238 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,268 @@
1919
</thead>
2020
<tbody>
2121
<tr>
22-
<td>Ctrl+1</td>
22+
<td>
23+
24+
<kbd>
25+
26+
27+
28+
29+
CTRL
30+
</kbd>
31+
+
32+
<kbd>
33+
34+
35+
36+
37+
1
38+
</kbd></td>
2339
<td>Automatically arrange selection of modules / in the current network</td>
2440
</tr>
2541
<tr>
26-
<td>Ctrl+2</td>
42+
<td>
43+
44+
<kbd>
45+
46+
47+
48+
49+
CTRL
50+
</kbd>
51+
+
52+
<kbd>
53+
54+
55+
56+
57+
2
58+
</kbd></td>
2759
<td>Open most recent network file</td>
2860
</tr>
2961
<tr>
30-
<td>Ctrl+3</td>
62+
<td>
63+
64+
<kbd>
65+
66+
67+
68+
69+
CTRL
70+
</kbd>
71+
+
72+
<kbd>
73+
74+
75+
76+
77+
3
78+
</kbd></td>
3179
<td>Run most recent test case (extremely useful for developers)</td>
3280
</tr>
33-
<td>Ctrl+A then Ctrl+1</td>
81+
<tr>
82+
<td>
83+
84+
<kbd>
85+
86+
87+
88+
89+
CTRL
90+
</kbd>
91+
+
92+
<kbd>
93+
94+
95+
96+
97+
A
98+
</kbd> then
99+
100+
<kbd>
101+
102+
103+
104+
105+
CTRL
106+
</kbd>
107+
+
108+
<kbd>
109+
110+
111+
112+
113+
1
114+
</kbd></td>
34115
<td>Layout network</td>
35116
</tr>
36-
<td>Ctrl+A then Tab</td>
117+
<tr>
118+
<td>
119+
120+
<kbd>
121+
122+
123+
124+
125+
CTRL
126+
</kbd>
127+
+
128+
<kbd>
129+
130+
131+
132+
133+
A
134+
</kbd> then
135+
136+
<kbd>
137+
138+
139+
140+
141+
TAB
142+
</kbd></td>
37143
<td>Layout .script file (in MATE)</td>
38144
</tr>
39-
<td>Ctrl+D</td>
145+
<tr>
146+
<td>
147+
148+
<kbd>
149+
150+
151+
152+
153+
CTRL
154+
</kbd>
155+
+
156+
<kbd>
157+
158+
159+
160+
161+
D
162+
</kbd></td>
40163
<td>Duplicate currently selected module (including all field values)</td>
41164
</tr>
42-
<td>Ctrl+Left Mouse or Middle Mouse Button</td>
165+
<tr>
166+
<td>
167+
168+
<kbd>
169+
170+
171+
172+
173+
CTRL
174+
</kbd> and Left Mouse
175+
176+
<img width="22px" src="https://mevislab.github.io/examples/pull/112/images/lmb.svg" alt="Left Mouse Button" />
177+
178+
179+
or Middle Mouse Button
180+
181+
182+
183+
<img width="22px" src="https://mevislab.github.io/examples/pull/112/images/mmb.svg" alt="Middle Mouse Button / Mouse Wheel" />
184+
</td>
43185
<td>Show Internal Network</td>
44186
</tr>
45-
<td>Space</td>
187+
<tr>
188+
<td>
189+
190+
<kbd>
191+
192+
193+
194+
195+
SPACE
196+
</kbd></td>
46197
<td>Show hidden outputs of the currently selected module</td>
47198
</tr>
48-
<td>Ctrl+Alt+T</td>
199+
<tr>
200+
<td>
201+
202+
<kbd>
203+
204+
205+
206+
207+
CTRL
208+
</kbd>
209+
+
210+
<kbd>
211+
212+
213+
214+
215+
ALT
216+
</kbd>
217+
+
218+
<kbd>
219+
220+
221+
222+
223+
T
224+
</kbd></td>
49225
<td>Start test center</td>
50226
</tr>
51-
<td>Ctrl+K </td>
227+
<tr>
228+
<td>
229+
230+
<kbd>
231+
232+
233+
234+
235+
CTRL
236+
</kbd>
237+
+
238+
<kbd>
239+
240+
241+
242+
243+
K
244+
</kbd></td>
52245
<td>Restart MeVisLab with current network(s)</td>
53246
</tr>
54-
</tr>
55-
<td>Ctrl+R</td>
247+
<tr>
248+
<td>
249+
250+
<kbd>
251+
252+
253+
254+
255+
CTRL
256+
</kbd>
257+
+
258+
<kbd>
259+
260+
261+
262+
263+
R
264+
</kbd></td>
56265
<td>Run script file with the same name of your network file if available in the same directory.</td>
57266
</tr>
267+
<tr>
268+
<td>
269+
270+
<kbd>
271+
272+
273+
274+
275+
ALT
276+
</kbd> Double-click
277+
278+
<img width="22px" src="https://mevislab.github.io/examples/pull/112/images/lmb.svg" alt="Left Mouse Button" />
279+
280+
281+
on a module</td>
282+
<td>Open automatic panel of the module.</td>
283+
</tr>
58284
</tbody>
59285
</table>
60286
<h2 id="snippets">Using Snippets</h2>

pull/112/tags/tutorial/index.html

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,37 @@
120120
The documentation on Matplotlib along with general examples, cheat sheets and a starting guide can be found <a href=https://matplotlib.org/ target=_blank rel=noopener>here</a>.</div></div><p>As MeVisLab supports the integration of Python scripts e. g. for test automation, Matplotlib can be used to visualize any data you might want to see. And as it is directly integrated into MeVisLab, you don&rsquo;t have to install it (via <code>PythonPip</code> module) first.</p><h4><a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/modulesetup/>Example 1: Module Setup</a></h4><h1 id=example-1-module-setup>Example 1: Module Setup</h1><h2 id=introduction>Introduction</h2><p>To be able to access the data needed for our grayscale distribution plots, we need a network consisting of a module that imports DICOM data, a module that differentiates between slices and another that ouputs histogram data.</p><h2 id=steps-to-do>Steps to do</h2><p>Open up your MeVisLab workspace and add the modules <code>LocalImage</code>, <code>SubImage</code> and <code>Histogram</code> to it.
121121
Connect the output of <code>LocalImage</code> to the input of <code>SubImage</code> and the output of <code>SubImage</code> with the input of <code>Histogram</code>.
122122
If you feel like using a shortcut, you can also download the base network below and open it in your MeVisLab.</p><h4><a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/2dplotting/>Example 2: 2D Plotting</a></h4><h1 id=example-2-2d-plotting>Example 2: 2D Plotting</h1><h2 id=introduction>Introduction</h2><p>In this tutorial, we will equip the macro module we created in the <a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/modulesetup>previous tutorial</a> with a responsive and interactable panel to plot grayscale distributions of single slices as well as defined sequences of slices in 2D.</p><h2 id=steps-to-do>Steps to do</h2><p>Open the module definition folder of your macro module and the related .script file in MATE. Then activate the Preview as shown below:</p><p><p class=page-image><a data-modal=bs-lightbox href=https://mevislab.github.io/examples/pull/112/images/tutorials/thirdparty/Matplotlib7.png title><img class="img-fluid rounded" src=https://mevislab.github.io/examples/pull/112/images/tutorials/thirdparty/Matplotlib7.png alt="MATE Preview"></a><figcaption class=figure-caption></figcaption></p><h4><a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/slicecomparison/>Example 3: Slice Comparison</a></h4><h1 id=example-3-slice-comparison>Example 3: Slice Comparison</h1><h2 id=introduction>Introduction</h2><p>We will adapt the previously created macro module to be able to overlay two defined slices to compare their grayscale distributions.</p><ul><li>The module we are adapting has been set up in the <a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/modulesetup>Example 1: Module Setup</a> tutorial.</li><li>The panel and two-dimensional plotting functionality has been added in [Example 2: 2D Plotting]
123-
(/tutorials/thirdparty/matplotlib/2dplotting).</li></ul><h2 id=steps-to-do>Steps to do</h2><p>At first, we will extend the panel: Open your <code>BaseNetwork</code> macro module within an empty MeVisLab workspace and select the .script file from its related files.</p><h4><a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/3dplotting/>Example 4: 3D Plotting</a></h4><h1 id=example-4-3d-plotting>Example 4: 3D Plotting</h1><h2 id=introduction>Introduction</h2><p>In this tutorial, we will equip the macro module we created in the <a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/modulesetup>Example 1: Module Setup</a> and later on adapted by enabling it to plot grayscale distributions of single slices and sequences in 2D in <a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/2dplotting>Example 2: 2D Plotting</a> with a three dimensional plotting functionality.</p><h2 id=steps-to-do>Steps to do</h2><p>The fields and commands needed have already been prepared in the second tutorial. We will just have to modify our .py file a little to make them usable. Integrate the following code into your .py file and import numpy.</p><h4><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts/>Tips and Tricks</a></h4><h1 id=mevislab-tips-and-tricks>MeVisLab Tips and Tricks</h1><p>This chapter shows some features and functionalities which are helpful but do not provide its own tutorial.</p><ul><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#shortcuts>Keyboard Shortcuts</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#snippets>Using Snippets</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#scriptingassistant>Scripting Assistant</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#user_scripts>User Scripts</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#mlimagestate>Show status of module in- and output</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#modulesuggest>Module suggestion of module in- and output</a></li></ul><h2 id=shortcuts>Keyboard Shortcuts</h2><p>This is a collection of useful keyboard shortcuts in MeVisLab, hopefully it grows continuously.</p><table class="table table-striped"><thead><tr><th>Shortcut</th><th>Functionality</th></tr></thead><tbody><tr><td>Ctrl+1</td><td>Automatically arrange selection of modules / in the current network</td></tr><tr><td>Ctrl+2</td><td>Open most recent network file</td></tr><tr><td>Ctrl+3</td><td>Run most recent test case (extremely useful for developers)</td></tr><td>Ctrl+A then Ctrl+1</td><td>Layout network</td></tr><td>Ctrl+A then Tab</td><td>Layout .script file (in MATE)</td></tr><td>Ctrl+D</td><td>Duplicate currently selected module (including all field values)</td></tr><td>Ctrl+Left Mouse or Middle Mouse Button</td><td>Show Internal Network</td></tr><td>Space</td><td>Show hidden outputs of the currently selected module</td></tr><td>Ctrl+Alt+T</td><td>Start test center</td></tr><td>Ctrl+K</td><td>Restart MeVisLab with current network(s)</td></tr></tr><td>Ctrl+R</td><td>Run script file with the same name of your network file if available in the same directory.</td></tr></tbody></table><h2 id=snippets>Using Snippets</h2><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=https://mevislab.github.io/examples/pull/112/images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=xX7wJiyfxhA" target=_blank><img width=100px src=https://img.youtube.com/vi/xX7wJiyfxhA/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=xX7wJiyfxhA" target=_blank>YouTube</a>.</div></div><p>Sometimes you have to create the same network over and over again &ndash; for example, to quickly preview DICOM files. Generally, you will at least add one module to load and another module to display your images. Sometimes you may also want to view the DICOM header data. A network you possibly generate whenever opening DICOM files will be the following:</p></div></div></div></div></div></div><footer class="footer fixed-bottom mt-auto py-3"><div class="row footer-text"><div class="col-12 col-md text-center text-md-left text-white">&copy; Copyright 2025 <a href=https://www.mevis.de target=_blank>MeVis Medical Solutions AG</a> | <a href=https://www.mevislab.de/imprint target=_blank>Imprint</a> | <a href=https://www.mevislab.de target=_blank>https://www.mevislab.de</a></div></div><script src=https://mevislab.github.io/examples/pull/112/js/bundle.min.js defer></script><script>hljs.highlightAll(),hljs.configure({ignoreUnescapedHTML:!0}),hljs.addPlugin(new CopyButtonPlugin)</script></footer></body></html>
123+
(/tutorials/thirdparty/matplotlib/2dplotting).</li></ul><h2 id=steps-to-do>Steps to do</h2><p>At first, we will extend the panel: Open your <code>BaseNetwork</code> macro module within an empty MeVisLab workspace and select the .script file from its related files.</p><h4><a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/3dplotting/>Example 4: 3D Plotting</a></h4><h1 id=example-4-3d-plotting>Example 4: 3D Plotting</h1><h2 id=introduction>Introduction</h2><p>In this tutorial, we will equip the macro module we created in the <a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/modulesetup>Example 1: Module Setup</a> and later on adapted by enabling it to plot grayscale distributions of single slices and sequences in 2D in <a href=https://mevislab.github.io/examples/pull/112/tutorials/thirdparty/matplotlib/2dplotting>Example 2: 2D Plotting</a> with a three dimensional plotting functionality.</p><h2 id=steps-to-do>Steps to do</h2><p>The fields and commands needed have already been prepared in the second tutorial. We will just have to modify our .py file a little to make them usable. Integrate the following code into your .py file and import numpy.</p><h4><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts/>Tips and Tricks</a></h4><h1 id=mevislab-tips-and-tricks>MeVisLab Tips and Tricks</h1><p>This chapter shows some features and functionalities which are helpful but do not provide its own tutorial.</p><ul><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#shortcuts>Keyboard Shortcuts</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#snippets>Using Snippets</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#scriptingassistant>Scripting Assistant</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#user_scripts>User Scripts</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#mlimagestate>Show status of module in- and output</a></li><li><a href=https://mevislab.github.io/examples/pull/112/tutorials/shorts#modulesuggest>Module suggestion of module in- and output</a></li></ul><h2 id=shortcuts>Keyboard Shortcuts</h2><p>This is a collection of useful keyboard shortcuts in MeVisLab, hopefully it grows continuously.</p><table class="table table-striped"><thead><tr><th>Shortcut</th><th>Functionality</th></tr></thead><tbody><tr><td><kbd>CTRL
124+
</kbd>+
125+
<kbd>1</kbd></td><td>Automatically arrange selection of modules / in the current network</td></tr><tr><td><kbd>CTRL
126+
</kbd>+
127+
<kbd>2</kbd></td><td>Open most recent network file</td></tr><tr><td><kbd>CTRL
128+
</kbd>+
129+
<kbd>3</kbd></td><td>Run most recent test case (extremely useful for developers)</td></tr><tr><td><kbd>CTRL
130+
</kbd>+
131+
<kbd>A
132+
</kbd>then
133+
<kbd>CTRL
134+
</kbd>+
135+
<kbd>1</kbd></td><td>Layout network</td></tr><tr><td><kbd>CTRL
136+
</kbd>+
137+
<kbd>A
138+
</kbd>then
139+
<kbd>TAB</kbd></td><td>Layout .script file (in MATE)</td></tr><tr><td><kbd>CTRL
140+
</kbd>+
141+
<kbd>D</kbd></td><td>Duplicate currently selected module (including all field values)</td></tr><tr><td><kbd>CTRL
142+
</kbd>and Left Mouse
143+
<img width=22px src=https://mevislab.github.io/examples/pull/112/images/lmb.svg alt="Left Mouse Button">
144+
or Middle Mouse Button
145+
<img width=22px src=https://mevislab.github.io/examples/pull/112/images/mmb.svg alt="Middle Mouse Button / Mouse Wheel"></td><td>Show Internal Network</td></tr><tr><td><kbd>SPACE</kbd></td><td>Show hidden outputs of the currently selected module</td></tr><tr><td><kbd>CTRL
146+
</kbd>+
147+
<kbd>ALT
148+
</kbd>+
149+
<kbd>T</kbd></td><td>Start test center</td></tr><tr><td><kbd>CTRL
150+
</kbd>+
151+
<kbd>K</kbd></td><td>Restart MeVisLab with current network(s)</td></tr><tr><td><kbd>CTRL
152+
</kbd>+
153+
<kbd>R</kbd></td><td>Run script file with the same name of your network file if available in the same directory.</td></tr><tr><td><kbd>ALT
154+
</kbd>Double-click
155+
<img width=22px src=https://mevislab.github.io/examples/pull/112/images/lmb.svg alt="Left Mouse Button">
156+
on a module</td><td>Open automatic panel of the module.</td></tr></tbody></table><h2 id=snippets>Using Snippets</h2><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=https://mevislab.github.io/examples/pull/112/images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=xX7wJiyfxhA" target=_blank><img width=100px src=https://img.youtube.com/vi/xX7wJiyfxhA/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=xX7wJiyfxhA" target=_blank>YouTube</a>.</div></div><p>Sometimes you have to create the same network over and over again &ndash; for example, to quickly preview DICOM files. Generally, you will at least add one module to load and another module to display your images. Sometimes you may also want to view the DICOM header data. A network you possibly generate whenever opening DICOM files will be the following:</p></div></div></div></div></div></div><footer class="footer fixed-bottom mt-auto py-3"><div class="row footer-text"><div class="col-12 col-md text-center text-md-left text-white">&copy; Copyright 2025 <a href=https://www.mevis.de target=_blank>MeVis Medical Solutions AG</a> | <a href=https://www.mevislab.de/imprint target=_blank>Imprint</a> | <a href=https://www.mevislab.de target=_blank>https://www.mevislab.de</a></div></div><script src=https://mevislab.github.io/examples/pull/112/js/bundle.min.js defer></script><script>hljs.highlightAll(),hljs.configure({ignoreUnescapedHTML:!0}),hljs.addPlugin(new CopyButtonPlugin)</script></footer></body></html>

0 commit comments

Comments
 (0)