Adding and running nodes

Explains how to add new nodes into a project and use them to load an image file. Afterwards, the project is saved.


Tutorial: Adding and running nodes

small size
simple
tutorial
Accompanying data and project for the tutorial 'Adding and running nodes'.
This guide was written for JIPipe version 1.74.0 or newer
Illustration of the tutorial step

Step 1

From the main GUI. Type a keyword into the search bar (red arrow 1), e.g., looking for way to add a file to the pipeline at the beginning. Then choose the desired node, in this case we go for adding a file (red arrow 2).

Illustration of the tutorial step

Step 2

Now the new File node will appear on the work area.

The File nodes contains information where JIPipe should look for files. It is related to Folder (a directory) and Path (a file or directory).

If you want to reference multiple files/directories/paths, you can also use File list/Folder list/Path list.

Illustration of the tutorial step

Step 3

When the new node is clicked on and activated, it will be surrounded by a dashed rectangle(red arrow 1). Make sure that the Parameters tab is active on the right side(red arrow 2).

Illustration of the tutorial step

Step 4

To choose a concrete file, click on the navigation tab (red arrow 1), navigate to the folder where the image file is (red arrow 2), and choose the image to be loaded (red arrow 3).

Illustration of the tutorial step

Step 5

Run the node by clicking on the green arrowhead inside the node (red arrow), …

Illustration of the tutorial step

Step 6

… and then selecting one of the top two options Update cache or Cache intermediate results.

Illustration of the tutorial step

Step 7

The result will be shown on the right side, under the Cache browser tab (red arrow 1), where the newly loaded file name and full path will be listed (red arrow 2)

The cache stores the results of a pipeline/node in memory. Please note that to work with large images, you require a computer with sufficient RAM space.

Illustration of the tutorial step

Step 8

By double-clicking on the cache entry row (red arrow 1), the newly loaded image will be opened in a dedicated viewer (red arrow 2)

The File node packages the file path into a JIPipe-managed object called File. If you double-click a File/Folder/Path, it will be opened using your system’s standard behavior.

Illustration of the tutorial step

Step 9

To save the project, go to the Project tab (red arrow 1) and select the saving mode, e.g. Save As (red arrow 2)

Illustration of the tutorial step

Step 10

The navigate to the target folder (red arrow 1) and select or choose a file name (red arrow 2). The JIPipe project filenames end with the “.jip” extension.