Skip to main content
Version: 2026.09-beta

APP Sequences

It is possible to run multiple APPs in sequence on an image or multiple images. Instead of manually adding each APP whenever a batch analysis is performed, APP Sequences make it possible to save a predefined set of APPs and execute the sequence directly from the APP selection menu in the ribbon.

APP Sequence Setup

When multiple APPs are ready and correctly configured for sequence execution, follow these steps:

  1. In APP Author, click on the drop-down menu next to Save and then click Save APP as.
  1. In the new window, click on Explorer. This will open the APP folder in Windows Explorer.
  1. Create a new folder, and place the APPs ready for sequencing.
Warning

The sequence will be executed based on the names of the folders in alphabetical and numerical order.

If the folder is sorted by name, execution will happen from top to bottom
If the folder is sorted by name, execution will happen from top to bottom
  1. Rename the folder such that it either ends with _seq or _sequence.
Example of correctly named folder
Example of correctly named folder

The APP sequence is now ready to be used in Visiopharm.

Edit APP Sequence

To load the sequence of APPs, click on select APP and select the APP sequence.

The sequence icon can be recognized by the folder behind the APP image
The sequence icon can be recognized by the folder behind the APP image

When the sequence has been selected, a drop-down menu appears in the APP Author, where the individual APPs can be selected and modified.

The APPs in the drop-down menu are shown in the order of which they are executed
The APPs in the drop-down menu are shown in the order of which they are executed

Input and Output Matching

It is vital that the output of one APP matches the input of the following APP in a sequence.

Example of Input and Output Matching

In this example, the sequence consists of three APPs. The first APP has a Background and Tissue as Image Classes For Training. When the APP has been executed the post processing changes the label of Tissue to the default ROI. Afterwards, the labels of both Tissue and Background is changed to clear, as can be seen in this image:

The next APP in the sequence requires that no Background and Tissue labels exists. Since the first APP clears all labels, it can then run without conflicts.

note

This requirement is only for this example. In other sequences, different requirements applies.

The Glomerulus label is changed to a ROI, and both labels are then cleared
The Glomerulus label is changed to a ROI, and both labels are then cleared

The third and final APP in the sequence requires a ROI 002 to exist. Since the previous APP creates such a ROI, it can now be executed without conflicts.

Execute APP Sequence

When an APP sequence is loaded, it can then be executed by pressing Run in the ribbon.

Running the APP sequence from the ribbon
Running the APP sequence from the ribbon
note

Individual APPs from the sequence can be run seperately from the APP Author.

Batch Analysis

All information from this article also applies when performing Batch Analysis. For more information on Batch Analysis, click here