Prototyping

Step 1: Prototyping - Develop Your Network

Step 1: Prototyping - Develop Your Network

Introduction

In this example, we will develop a network that fulfills the requirements mentioned on the overview page. The network will be developed by reusing existing modules and defining basic field values.

Steps to Do

2D Viewer

The 2D viewer shall visualize the loaded images. In addition to that, it shall be possible to click Left Mouse Button into the image to trigger a region growing algorithm to segment parts of the loaded image based on a position and a threshold.

Step 2: Prototyping - Create a Macro Module

Step 2: Prototyping - Create a Macro Module

Introduction

In this example, we encapsulate the previously developed prototype network into a macro module for future application development and automated testing.

Steps to Do

Make sure to have your .mlab file from the previous tutorial available.

Package Creation

Packages are described in detail in Example 2.1: Package creation. If you already have your own package, you can skip this part and continue creating a macro module.

Step 3: Prototyping - User Interface and Python Scripting

Step 3: Prototyping - User Interface and Python Scripting

Introduction

In this step, we will develop a user interface and add Python scripting to the macro module you created in Step 2.

Steps to Do

Develop the User Interface

A mockup of the user interface you are going to develop is available here. The interface provides the possibility to load files and shows a 2D and a 3D viewer. In addition to that, some settings and information for our final application are available.

Step 4: Review - Automated Tests

Step 4: Review - Automated Tests

Introduction

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 Overview.

Steps to Do

Create a Test Network Using Your Macro Module

Create a new and empty network and save it as .mlab file. Remember the location.

Step 5: Review - Installer creation

Step 5: Review - Installer creation

Introduction

Your macro module has been tested manually and/or automatically? Then, you should create your first installable executable and deliver it to your customer(s) for final evaluation.

Step 6: Refine - Update Application

Step 6: Refine - Update Application

Introduction

In the previous step you developed an application that can be installed on your customers systems for usage. In this step we are going to integrate simple feedback into our executable and recreate the installer.

We want to show you how easy it is to update your application using MeVisLab.

Your customer requests an additional requirement to define the transparency of your 2D overlay in addition to defining the color.

Step 7: Refine - Rebuild Installer

Step 7: Refine - Rebuild Installer

Introduction

In this step you are recreating your application installer after changing the UI in previous Step 6: Refine - Update Application.

Steps to Do

Update the .mlinstall File

You do not need to use the Project Wizard now, because you already have a valid .mlinstall file. The location should be in your package under .\Configuration\Installers\TutorialSummary. Open the file in any text editor and search for the $VERSION 0.5. Change the version to something else, in our case, we now have our first major release 1.0.

Extra: Run Your Application in a Browser

Extra: Run Your Application in a Browser

Introduction

This step explains how to run your developed application in a browser. The MeVisLab network remains the same, only some adaptations are necessary for running any macro module in a browser window.