ilastik / ilastik4ij

ImageJ plugins to run ilastik workflows
MIT License
20 stars 17 forks source link

Simplify command classes and examples #106

Closed emilmelnikov closed 11 months ago

emilmelnikov commented 1 year ago

Partially supersedes https://github.com/ilastik/ilastik4ij/pull/84 without adding the features table feature.

emilmelnikov commented 1 year ago

This PR misses the Tracking demo because data files used in the old demo are not included in the project resources. This demo, along with other workflows, will be added later in another PR.

k-dominik commented 1 year ago

Okay I ran a few macros and they all still seem to work as before :+1:

emilmelnikov commented 1 year ago

Okay I ran a few macros and they all still seem to work as before 👍

Do you know how to read a "non-standard" (e.g. probabilities) image in a macro? For me it did not work because it needed to be imported via BioFormats that shows a pop-up dialog which doesn't work properly in the macro environment.

emilmelnikov commented 1 year ago

Do you know how to read a "non-standard" (e.g. probabilities) image in a macro? For me it did not work because it needed to be imported via BioFormats that shows a pop-up dialog which doesn't work properly in the macro environment.

After discussing this issue with @k-dominik, it turns out that some of our test TIFF files in this repo are not ImageJ-compatible. Re-exporting them with ImageJ should solve the problem.

emilmelnikov commented 1 year ago

Now everything that ilastik prints (both stdout and stderr) goes into the INFO log level. This prevents a log window from popping up when ilastik prints warnings to stderr, which is very common (it occurs if ilastik cannot find any solvers in the system).