Skip to content

Commit 554d831

Browse files
committed
Merge branch 'imglib2-examples'
This adds the ImgLib2 examples (http://fiji.sc/ImgLib2_Examples) to source control such that they work out of the box, making it easier for people to try them outside of Fiji's Script Editor (e.g., in Eclipse). It also fixes several problems with the code: compile errors, warnings, some minor style tweaks, and runtime issues (e.g., missing images).
2 parents 7951bcc + d523d63 commit 554d831

40 files changed

+2043
-185
lines changed

imglib2/examples/DrosophilaWing.tif

288 KB
Binary file not shown.
18.1 KB
Binary file not shown.

imglib2/examples/GameOfDeath2/LICENSE.txt

Lines changed: 0 additions & 35 deletions
This file was deleted.

imglib2/examples/GameOfDeath2/pom.xml

Lines changed: 0 additions & 83 deletions
This file was deleted.

imglib2/examples/GameOfDeath2/src/main/assembly/deps.xml

Lines changed: 0 additions & 58 deletions
This file was deleted.
680 KB
Loading

imglib2/examples/WingTemplate.tif

4.14 KB
Binary file not shown.

imglib2/examples/kernelAlbert.tif

148 KB
Binary file not shown.

imglib2/examples/kernelGauss.tif

227 KB
Binary file not shown.

imglib2/examples/pom.xml

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,60 @@
1111
<version>2.0.0-SNAPSHOT</version>
1212
</parent>
1313

14-
<artifactId>pom-imglib2-examples</artifactId>
15-
<packaging>pom</packaging>
14+
<artifactId>imglib2-examples</artifactId>
1615

1716
<name>ImgLib2 Examples</name>
18-
<description>Umbrella project for ImgLib2 example code.</description>
17+
<description>This project shows ten increasingly complex examples of how to program with ImgLib2. The intention of these examples are not to explain ImgLib2 concepts, but rather to give some practical hints how to work with the library and to grasp the principles in a learning-by-doing way. Also included is the Game of Death (similar to Conway's Game of Life): a cellular automaton, simulating competing life forms, which illustrates the generality of the ImgLib2 typing mechanism.</description>
1918

20-
<modules>
21-
<module>GameOfDeath2</module>
22-
</modules>
19+
<url>http://fiji.sc/ImgLib2_Examples</url>
20+
21+
<dependencies>
22+
<dependency>
23+
<groupId>${project.groupId}</groupId>
24+
<artifactId>imglib2</artifactId>
25+
<version>${project.version}</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>${project.groupId}</groupId>
29+
<artifactId>imglib2-algorithms</artifactId>
30+
<version>${project.version}</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>${project.groupId}</groupId>
34+
<artifactId>imglib2-algorithms-gpl</artifactId>
35+
<version>${project.version}</version>
36+
</dependency>
37+
<dependency>
38+
<groupId>${project.groupId}</groupId>
39+
<artifactId>imglib2-ij</artifactId>
40+
<version>${project.version}</version>
41+
</dependency>
42+
<dependency>
43+
<groupId>${project.groupId}</groupId>
44+
<artifactId>imglib2-io</artifactId>
45+
<version>${project.version}</version>
46+
</dependency>
47+
<dependency>
48+
<groupId>net.imagej</groupId>
49+
<artifactId>ij</artifactId>
50+
<version>${imagej1.version}</version>
51+
</dependency>
52+
</dependencies>
53+
54+
<build>
55+
<plugins>
56+
<plugin>
57+
<artifactId>maven-jar-plugin</artifactId>
58+
<configuration>
59+
<archive>
60+
<manifest>
61+
<mainClass>game.Arena</mainClass>
62+
</manifest>
63+
</archive>
64+
</configuration>
65+
</plugin>
66+
</plugins>
67+
</build>
2368

2469
<!-- NB: for project parent, in case of partial checkout -->
2570
<repositories>

0 commit comments

Comments
 (0)