-]</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> <a href="https://www.youtube.com/watch?v=xYR5Qkze0lE" target=_blank><img width=100px src=https://img.youtube.com/vi/xYR5Qkze0lE/0.jpg></a> 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> <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> 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> <a href="https://www.youtube.com/watch?v=DZ4BcAne4hM" target=_blank><img width=100px src=https://img.youtube.com/vi/DZ4BcAne4hM/0.jpg></a> 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
0 commit comments