Skip to content

Commit 87e105f

Browse files
Do not use deprecated canonifyURLs (#129)
- this had some unwanted side effects - adapt all URLs to work without the setting (remove /) - do not use absolute links to the site URL
1 parent 15d5e85 commit 87e105f

File tree

133 files changed

+846
-849
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+846
-849
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
# MeVisLab Examples
2-
3-
This is the repository for the MeVisLab Examples GitHub pages.
4-
5-
Please follow [Examples Pages](https://mevislab.github.io/examples/)
1+
# MeVisLab Tutorials and Examples
62

3+
This is the repository for the [MeVisLab Tutorials and Examples GitHub pages](https://mevislab.github.io/examples/).
74

85
## Configuration
96

107
### Local Deployment
11-
* Checkout code
8+
* Checkout the code
129
* Install _extended_ hugo from the [Hugo Website](https://gohugo.io/)
1310
* Install npm e.g. from [npmjs Website](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
14-
* Change to mevislab.github.io folder and run `npm install`
15-
* Stay in this folder and run `hugo server -d public --baseURL //localhost/examples/` (The `/examples/` path is locally not absolute necessary but it helps to find problems that might appear on the production website.)
16-
* Open in your favorite browser the given URL
11+
* Change to the *mevislab.github.io* folder and run `npm install`
12+
* Stay in this folder and run `hugo server -d public --baseURL //localhost/examples/` (the `/examples/` path is not needed,
13+
but it helps to find problems that might appear on the published website)
14+
* Open the given URL in your favorite browser

mevislab.github.io/content/about/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ Hints common mistakes or steps you should consider beforehand.
2121
Keyboard shortcuts are incorporated like this: {{< keyboard "CTRL" "ALT" "2" >}}.
2222

2323
## Networks
24-
The networks shown and used in the tutorials can be found in the [Examples](/examples) section of this page.
24+
The networks shown and used in the tutorials can be found in the [Examples](examples) section of this page.
2525
They are usually embedded like this:
2626
{{< networkfile "examples/data_objects/contours/example1/ContourExample1.mlab" >}}

mevislab.github.io/content/examples/basic_mechanisms/contour_filter/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Additionally, the images are modified by a local macro module `Filter` and shown
1313

1414
In order to display the same slice (unchanged and changed), the module `SyncFloat` is used to synchronize the field value *startSlice* in both viewers. The `SyncFloat` module duplicates the value *Float1* to the field *Float2*.
1515

16-
![Screenshot](/examples/basic_mechanisms/contour_filter/image.png)
16+
![Screenshot](examples/basic_mechanisms/contour_filter/image.png)
1717

1818
# Download
19-
You can download the example network [here](/examples/basic_mechanisms/contour_filter/ContourFilter.zip)
19+
You can download the example network [here](examples/basic_mechanisms/contour_filter/ContourFilter.zip)

mevislab.github.io/content/examples/basic_mechanisms/macro_modules_and_module_interaction/example1/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In this example we update the *.script* file of the `Filter` module to display t
1616
Changes applied to fields in the macro module's panel are applied to their internal network as well.
1717
{{</alert>}}
1818

19-
![Screenshot](/examples/basic_mechanisms/macro_modules_and_module_interaction/example1/image.png)
19+
![Screenshot](examples/basic_mechanisms/macro_modules_and_module_interaction/example1/image.png)
2020

2121
# Download
22-
You can download the example network [here](/examples/basic_mechanisms/macro_modules_and_module_interaction/example1/FilterExample.zip)
22+
You can download the example network [here](examples/basic_mechanisms/macro_modules_and_module_interaction/example1/FilterExample.zip)

mevislab.github.io/content/examples/basic_mechanisms/macro_modules_and_module_interaction/example2/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ A new macro module `IsoCSOs` is created providing two viewers in its internal ne
1212

1313
To showcase how Python functions can be implemented in MeVisLab and called from within a module, additional buttons to browse directories and create contours via the `CSOIsoGenerator` are added. Lastly, a field listener is implemented reacting to field changes by colorizing contours when the user hovers over them with the mouse.
1414

15-
![Screenshot](/examples/basic_mechanisms/macro_modules_and_module_interaction/example2/image2.png)
15+
![Screenshot](examples/basic_mechanisms/macro_modules_and_module_interaction/example2/image2.png)
1616

17-
![Screenshot](/examples/basic_mechanisms/macro_modules_and_module_interaction/example2/image.png)
17+
![Screenshot](examples/basic_mechanisms/macro_modules_and_module_interaction/example2/image.png)
1818

1919
# Download
20-
The files need to be added to a package. You can download the example network [here](/examples/basic_mechanisms/macro_modules_and_module_interaction/example2/ScriptingExample2.zip)
20+
The files need to be added to a package. You can download the example network [here](examples/basic_mechanisms/macro_modules_and_module_interaction/example2/ScriptingExample2.zip)

mevislab.github.io/content/examples/basic_mechanisms/viewer_application/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ category: "basic_mechanisms"
77
# Example 3: Creating a Simple Application
88
In this example, you will learn how to create a simple prototype application in MeVisLab including a user interface (UI) with 2D and 3D viewers.
99

10-
![Screenshot](/examples/basic_mechanisms/viewer_application/image.png)
10+
![Screenshot](examples/basic_mechanisms/viewer_application/image.png)
1111

1212
# Download
13-
You can download the example network [here](/examples/basic_mechanisms/viewer_application/viewerexample.mlab)
13+
You can download the example network [here](examples/basic_mechanisms/viewer_application/viewerexample.mlab)

mevislab.github.io/content/examples/data_objects/contours/example1/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Contours are stored as Contour Segmentation Objects (CSOs) in MeVisLab.
99
This example highlights ways of creating CSOs using modules of the `SoCSOEditor` group.
1010

1111
{{<alert class="info" caption="Info">}}
12-
You may want to look at the glossary entry on [*CSOs*](/glossary/#contour-segmented-objects).
12+
You may want to look at the glossary entry on [*CSOs*](glossary/#contour-segmented-objects).
1313
{{</alert>}}
1414

1515
The `SoCSOEditor` module group contains several modules, some of which are listed right below:
@@ -32,12 +32,12 @@ Whenever Contour Segmentation Objects are created, they are temporarily stored b
3232

3333
In this example, contours are created and colors and styles of these CSOs are customized by using the `SoCSOVisualizationSettings` module.
3434

35-
![Screenshot](/examples/data_objects/contours/example1/image.png)
35+
![Screenshot](examples/data_objects/contours/example1/image.png)
3636

3737
## Summary
3838
+ Contours are stored as their own abstract data type called Contour Segmentation Objects (often abbreviated to *CSO*).
3939
+ The `SoCSO\*Editor` module group contains several useful modules to create, interact with or modify CSOs.
4040
+ Created CSOs are temporarily stored and can be managed using the `CSOManager`.
4141

4242
# Download
43-
The example network can be downloaded [here](/examples/data_objects/contours/example1/ContourExample1.mlab)
43+
The example network can be downloaded [here](examples/data_objects/contours/example1/ContourExample1.mlab)

mevislab.github.io/content/examples/data_objects/contours/example2/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In this example, semi-automatic countours are created using the `SoCSOLiveWireEd
1212

1313
Additional contours between the manually created ones are generated by the `CSOSliceInterpolator` and added to the `CSOManager`. Different groups of contours are created for the left and right lobe of the lung and colored respectively.
1414

15-
![Screenshot](/examples/data_objects/contours/example2/image.png)
15+
![Screenshot](examples/data_objects/contours/example2/image.png)
1616

1717
# Download
18-
You can download the example network [here](/examples/data_objects/contours/example2/ContourExample2.mlab)
18+
You can download the example network [here](examples/data_objects/contours/example2/ContourExample2.mlab)

mevislab.github.io/content/examples/data_objects/contours/example3/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The module `VoxelizeCSO` is used to create a three-dimensional voxel mask of the
1414

1515
Lastly, the panel of the `View3D` module is used to visualize the voxel mask in 3D.
1616

17-
![Screenshot](/examples/data_objects/contours/example3/image.png)
17+
![Screenshot](examples/data_objects/contours/example3/image.png)
1818

1919
# Download
20-
You can download the example network [here](/examples/data_objects/contours/example3/ContourExample3.mlab)
20+
You can download the example network [here](examples/data_objects/contours/example3/ContourExample3.mlab)

mevislab.github.io/content/examples/data_objects/contours/example4/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This example shows how to add annotations to an image.
1010
## Summary
1111
In this example, the network of **Contour Example 3** is extended so that the volume of the 3D mask generated by the `VoxelizeCSO` module is calculated. The `CalculateVolume` module counts the number of voxels in the given mask and returns the correct volume in ml. The calculated volume will be used for a custom `SoView2DAnnotation` displayed in the `View2D`.
1212

13-
![Screenshot](/examples/data_objects/contours/example4/image.png)
13+
![Screenshot](examples/data_objects/contours/example4/image.png)
1414

1515
# Download
16-
You can download the example network [here](/examples/data_objects/contours/example4/ContourExample4.mlab)
16+
You can download the example network [here](examples/data_objects/contours/example4/ContourExample4.mlab)

0 commit comments

Comments
 (0)