Skip to content

Commit aa72e07

Browse files
committed
deploy: 8f13bc8
1 parent 4d73a42 commit aa72e07

15 files changed

Lines changed: 21 additions & 30 deletions

File tree

pull/133/index.json

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

pull/133/tags/automated-tests/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
File
3232
→
3333
Run TestCaseManager
34-
]</i> to open the user interface of the TestCaseManager.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample1/>Example 1: Writing a Simple Test Case in MeVisLab</a></h4><h1 id=example-1-writing-a-simple-test-case-in-mevislab>Example 1: Writing a Simple Test Case in MeVisLab</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=DqpVaKai_00" target=_blank><img width=100px src=https://img.youtube.com/vi/DqpVaKai_00/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=DqpVaKai_00" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example you will learn how to write an automated test for a simple network using the <code>DicomImport</code>, <code>MinMaxScan</code>, and <code>View3D</code> modules. Afterward, you will be able to write test cases for any other module and network yourself.</p><h2 id=steps-to-do>Steps to Do</h2><h3 id=creating-the-network-to-be-used-for-testing>Creating the Network to be Used for Testing</h3><p>Add the following modules to your workspace and connect them as seen below:</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample3/>Example 3: Iterative Tests in MeVisLab With Screenshots</a></h4><h1 id=example-3-iterative-tests-in-mevislab>Example 3: Iterative Tests in MeVisLab</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=1JidUyfz0xU" target=_blank><img width=100px src=https://img.youtube.com/vi/1JidUyfz0xU/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=1JidUyfz0xU" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example you are writing an iterative test. Iterative test functions run a function for every specified input. They return a tuple consisting of the function object called and the inputs iterated over. The iterative test functions are useful if the same function should be applied to different input data. These could be input values, names of input images, etc.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/summary/summary4/>Step 4: Review - Automated Tests</a></h4><h1 id=step-4-review---automated-tests>Step 4: Review - Automated Tests</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=_wheDC8TBJQ" target=_blank><img width=100px src=https://img.youtube.com/vi/_wheDC8TBJQ/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=_wheDC8TBJQ" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In the previous chapters you developed a macro module with a user interface and Python scripting. In this step you will see how to implement an automated test to verify and validate the requirements defined in <a href=tutorials/summary>Overview</a>.</p><h2 id=steps-to-do>Steps to Do</h2><h3 id=create-a-test-network-using-your-macro-module>Create a Test Network Using Your Macro Module</h3><p>Create a new and empty network and save it as <em>.mlab</em> file. Remember the location.</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 2026 <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/133/js/bundle.min.js defer></script><script>hljs.highlightAll(),hljs.configure({ignoreUnescapedHTML:!0}),hljs.addPlugin(new CopyButtonPlugin)</script></footer></body></html>
34+
]</i> to open the user interface of the TestCaseManager.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample1/>Example 1: Writing a Simple Test Case in MeVisLab</a></h4><h1 id=example-1-writing-a-simple-test-case-in-mevislab>Example 1: Writing a Simple Test Case in MeVisLab</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=DqpVaKai_00" target=_blank><img width=100px src=https://img.youtube.com/vi/DqpVaKai_00/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=DqpVaKai_00" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example you will learn how to write an automated test for a simple network using the <code>DicomImport</code>, <code>MinMaxScan</code>, and <code>View3D</code> modules. Afterward, you will be able to write test cases for any other module and network yourself.</p><p>MeVisLab provides two options to compare a test result with an expected result:</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample3/>Example 3: Iterative Tests in MeVisLab With Screenshots</a></h4><h1 id=example-3-iterative-tests-in-mevislab>Example 3: Iterative Tests in MeVisLab</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=1JidUyfz0xU" target=_blank><img width=100px src=https://img.youtube.com/vi/1JidUyfz0xU/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=1JidUyfz0xU" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example you are writing an iterative test. Iterative test functions run a function for every specified input. They return a tuple consisting of the function object called and the inputs iterated over. The iterative test functions are useful if the same function should be applied to different input data. These could be input values, names of input images, etc.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/summary/summary4/>Step 4: Review - Automated Tests</a></h4><h1 id=step-4-review---automated-tests>Step 4: Review - Automated Tests</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=_wheDC8TBJQ" target=_blank><img width=100px src=https://img.youtube.com/vi/_wheDC8TBJQ/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=_wheDC8TBJQ" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In the previous chapters you developed a macro module with a user interface and Python scripting. In this step you will see how to implement an automated test to verify and validate the requirements defined in <a href=tutorials/summary>Overview</a>.</p><h2 id=steps-to-do>Steps to Do</h2><h3 id=create-a-test-network-using-your-macro-module>Create a Test Network Using Your Macro Module</h3><p>Create a new and empty network and save it as <em>.mlab</em> file. Remember the location.</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 2026 <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/133/js/bundle.min.js defer></script><script>hljs.highlightAll(),hljs.configure({ignoreUnescapedHTML:!0}),hljs.addPlugin(new CopyButtonPlugin)</script></footer></body></html>

pull/133/tags/automated-tests/index.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ All of these funtionalities will be addressed in this chapter.&lt;/p&gt;
1616
&lt;/div&gt;
1717
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
1818
&lt;p&gt;In this example you will learn how to write an automated test for a simple network using the &lt;code&gt;DicomImport&lt;/code&gt;, &lt;code&gt;MinMaxScan&lt;/code&gt;, and &lt;code&gt;View3D&lt;/code&gt; modules. Afterward, you will be able to write test cases for any other module and network yourself.&lt;/p&gt;
19-
&lt;h2 id="steps-to-do"&gt;Steps to Do&lt;/h2&gt;
20-
&lt;h3 id="creating-the-network-to-be-used-for-testing"&gt;Creating the Network to be Used for Testing&lt;/h3&gt;
21-
&lt;p&gt;Add the following modules to your workspace and connect them as seen below:&lt;/p&gt;</description></item><item><title>Example 3: Iterative Tests in MeVisLab With Screenshots</title><link>https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample3/</link><pubDate>Wed, 15 Jun 2022 08:56:33 +0200</pubDate><guid>https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample3/</guid><description>&lt;h1 id="example-3-iterative-tests-in-mevislab"&gt;Example 3: Iterative Tests in MeVisLab&lt;/h1&gt;
19+
&lt;p&gt;MeVisLab provides two options to compare a test result with an expected result:&lt;/p&gt;</description></item><item><title>Example 3: Iterative Tests in MeVisLab With Screenshots</title><link>https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample3/</link><pubDate>Wed, 15 Jun 2022 08:56:33 +0200</pubDate><guid>https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample3/</guid><description>&lt;h1 id="example-3-iterative-tests-in-mevislab"&gt;Example 3: Iterative Tests in MeVisLab&lt;/h1&gt;
2220
&lt;div class="alert alert-secondary d-flex align-items-center" role="alert"&gt;
2321
&lt;div&gt;
2422
&lt;img width="100px" src="images/youtube.svg" /&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://www.youtube.com/watch?v=1JidUyfz0xU" target="_blank"&gt;&lt;img width="100px" src="https://img.youtube.com/vi/1JidUyfz0xU/0.jpg" /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;This example is also available on &lt;a href="https://www.youtube.com/watch?v=1JidUyfz0xU" target="_blank"&gt;YouTube&lt;/a&gt;.

pull/133/tags/beginner/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
File
7171
&rarr;
7272
Run TestCaseManager
73-
]</i> to open the user interface of the TestCaseManager.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/dataobjects/markerobjects/>Marker Objects</a></h4><h1 id=MarkersInMeVisLab>Markers in MeVisLab</h1><p>In MeVisLab you can attach markers to images and other data objects. In this example you will see how to create, process, and use markers.</p><h2 id=creation-and-rendering>Creation and Rendering</h2><p>To create markers, you can use a marker editor, for example, the <code>SoView2DMarkerEditor</code>. Connect this editor to a viewer as shown below. Now you can interactively create new markers. Connect the module <code>XMarkerListContainer</code> to your marker editor to store markers in a list.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/dataobjects/markers/markerexample1/>Example 1: Distance Between Markers</a></h4><h1 id=example-1-calculating-the-distance-between-markers>Example 1: Calculating the Distance Between Markers</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=xYR5Qkze0lE" target=_blank><img width=100px src=https://img.youtube.com/vi/xYR5Qkze0lE/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=xYR5Qkze0lE" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example, we will measure the distance between one position in an image to a list of markers.</p><h2 id=steps-to-do>Steps to Do</h2><h3 id=develop-your-network>Develop Your Network</h3><p>Add the following modules and connect them as shown.</p><p>We changed the names of the modules <code>SoView2DMarkerEditor</code> and <code>XMarkerListContainer</code>, to distinguish these modules from two similar modules we will add later on. Open the panel of <code>SoView2DMarkerEditor</code> and select the tab <em>Drawing</em>. Now choose the <em>Color</em> <em>red</em>.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample1/>Example 1: Writing a Simple Test Case in MeVisLab</a></h4><h1 id=example-1-writing-a-simple-test-case-in-mevislab>Example 1: Writing a Simple Test Case in MeVisLab</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=DqpVaKai_00" target=_blank><img width=100px src=https://img.youtube.com/vi/DqpVaKai_00/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=DqpVaKai_00" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example you will learn how to write an automated test for a simple network using the <code>DicomImport</code>, <code>MinMaxScan</code>, and <code>View3D</code> modules. Afterward, you will be able to write test cases for any other module and network yourself.</p><h2 id=steps-to-do>Steps to Do</h2><h3 id=creating-the-network-to-be-used-for-testing>Creating the Network to be Used for Testing</h3><p>Add the following modules to your workspace and connect them as seen below:</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample2/>Example 2: Profiling in MeVisLab</a></h4><h1 id=example-2-profiling-in-mevislab>Example 2: Profiling in MeVisLab</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=DZ4BcAne4hM" target=_blank><img width=100px src=https://img.youtube.com/vi/DZ4BcAne4hM/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=DZ4BcAne4hM" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example we are using the MeVisLab Profiler to inspect the memory and CPU consumption of the modules in an example network.</p><h2 id=steps-to-do>Steps to Do</h2><h3 id=creating-the-network-to-be-used-for-profiling>Creating the Network to be Used for Profiling</h3><p>You can open any network you like, here we are using the example network of the module <code>MinMaxScan</code> for profiling. Add the module <code>MinMaxScan</code> to your workspace, open the example network via right-click
73+
]</i> to open the user interface of the TestCaseManager.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/dataobjects/markerobjects/>Marker Objects</a></h4><h1 id=MarkersInMeVisLab>Markers in MeVisLab</h1><p>In MeVisLab you can attach markers to images and other data objects. In this example you will see how to create, process, and use markers.</p><h2 id=creation-and-rendering>Creation and Rendering</h2><p>To create markers, you can use a marker editor, for example, the <code>SoView2DMarkerEditor</code>. Connect this editor to a viewer as shown below. Now you can interactively create new markers. Connect the module <code>XMarkerListContainer</code> to your marker editor to store markers in a list.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/dataobjects/markers/markerexample1/>Example 1: Distance Between Markers</a></h4><h1 id=example-1-calculating-the-distance-between-markers>Example 1: Calculating the Distance Between Markers</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=xYR5Qkze0lE" target=_blank><img width=100px src=https://img.youtube.com/vi/xYR5Qkze0lE/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=xYR5Qkze0lE" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example, we will measure the distance between one position in an image to a list of markers.</p><h2 id=steps-to-do>Steps to Do</h2><h3 id=develop-your-network>Develop Your Network</h3><p>Add the following modules and connect them as shown.</p><p>We changed the names of the modules <code>SoView2DMarkerEditor</code> and <code>XMarkerListContainer</code>, to distinguish these modules from two similar modules we will add later on. Open the panel of <code>SoView2DMarkerEditor</code> and select the tab <em>Drawing</em>. Now choose the <em>Color</em> <em>red</em>.</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample1/>Example 1: Writing a Simple Test Case in MeVisLab</a></h4><h1 id=example-1-writing-a-simple-test-case-in-mevislab>Example 1: Writing a Simple Test Case in MeVisLab</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=DqpVaKai_00" target=_blank><img width=100px src=https://img.youtube.com/vi/DqpVaKai_00/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=DqpVaKai_00" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example you will learn how to write an automated test for a simple network using the <code>DicomImport</code>, <code>MinMaxScan</code>, and <code>View3D</code> modules. Afterward, you will be able to write test cases for any other module and network yourself.</p><p>MeVisLab provides two options to compare a test result with an expected result:</p><h4><a href=https://mevislab.github.io/examples/pull/133/tutorials/testing/testingexample2/>Example 2: Profiling in MeVisLab</a></h4><h1 id=example-2-profiling-in-mevislab>Example 2: Profiling in MeVisLab</h1><div class="alert alert-secondary d-flex align-items-center" role=alert><div><img width=100px src=images/youtube.svg>&nbsp;&nbsp;<a href="https://www.youtube.com/watch?v=DZ4BcAne4hM" target=_blank><img width=100px src=https://img.youtube.com/vi/DZ4BcAne4hM/0.jpg></a>&nbsp;&nbsp;&nbsp;This example is also available on <a href="https://www.youtube.com/watch?v=DZ4BcAne4hM" target=_blank>YouTube</a>.</div></div><h2 id=introduction>Introduction</h2><p>In this example we are using the MeVisLab Profiler to inspect the memory and CPU consumption of the modules in an example network.</p><h2 id=steps-to-do>Steps to Do</h2><h3 id=creating-the-network-to-be-used-for-profiling>Creating the Network to be Used for Profiling</h3><p>You can open any network you like, here we are using the example network of the module <code>MinMaxScan</code> for profiling. Add the module <code>MinMaxScan</code> to your workspace, open the example network via right-click
7474
<img width=22px src=images/rmb.svg alt="Right Mouse Button">
7575
and select <i>[
7676
Help

0 commit comments

Comments
 (0)