Skip to content

Commit

Permalink
Simplify command classes and examples (#106)
Browse files Browse the repository at this point in the history
* Merge commands and executors for less indirection
* Move subprocess running, temporary file management
   and common parameters to the CommandBase class
* Improve user interaction during command execution
* Simplify and merge together demo classes
* Add a simple pixel classification ImageJ macro

Co-authored-by: Dominik Kutra <k-dominik@users.noreply.github.com>
  • Loading branch information
emilmelnikov and k-dominik committed Jul 27, 2023
1 parent 1dd7e2f commit 4aa8e3d
Show file tree
Hide file tree
Showing 29 changed files with 545 additions and 1,151 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,9 @@ as `ImagePlus`, containing `ImageProcessors` to access the underlying data. We t
containers everywhere which are roughly wrapped as `Dataset > ImgPlus > Img >
RandomAccessibleInterval`.

**Testing:** no real tests are included right now, but you can run the `main` method in
`WorkflowTests.java` which fires up an ImageJ instance for each of the three plugins.
### Demo

`src/test/java/org/ilastik/ilastik4ij/Demo.java` contains usage examples of various workflows.

### Manually test in a local Fiji installation

Expand Down
5 changes: 5 additions & 0 deletions examples/pixel_classification.ijm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project = "src/test/resources/pixel_class_2d_cells_apoptotic.ilp";
input = "2d_cells_apoptotic.tif";

open(input);
run("Run Pixel Classification Prediction", "projectfilename=" + project + " input=" + input + " pixelclassificationtype=Probabilities");

This file was deleted.

41 changes: 0 additions & 41 deletions src/main/java/org/ilastik/ilastik4ij/executors/Autocontext.java

This file was deleted.

40 changes: 0 additions & 40 deletions src/main/java/org/ilastik/ilastik4ij/executors/Multicut.java

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 4aa8e3d

Please sign in to comment.