Prototyping

Step 1: Prototyping - Develop your Network

Step 1: Prototyping - Develop your Network

Introduction

In this example, we will develop a network which fulfills the requirements mentioned on the overview page. The network will be developed by re-using 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 into the image to trigger a RegionGrowing algorithm to segment parts of the loaded image based on 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 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.

Steps to do

Install tools necessary for installer generation

The MeVisLab Project Wizard for Standalone Applications [ File → Run Project Wizard... → Standalone Application ] provides a check for all necessary tools you need to install before generating an installer.

Step 6: Refine - Update Application

Step 6: Refine - Update Application

Introduction

In previous step you developed an application which can be installed on your customers systems for usage. In this step we are going to integrate simple feedback into our executable and re-create 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 - Re-Build Installer

Step 7: Refine - Re-Build Installer

Introduction

In this step you are re-creating 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 Browser

Extra: Run your application in 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.

Steps to do

Make sure to have your macro module from previous Step 2 available.