Closed k-dominik closed 4 months ago
WOW, there were many things broken 🤯 ...not sure when this happened; MoBIE needs tests....
If all your images look the same then this would work now:
Would you have more complex scenarios for me to test, maybe also something with labels and/or pixel probabilities? Ideal would be a minimal dataset that would cover everything that ilastik could produce; then we could build a test around this data....
I'll produce something!
In fact, we have something already for single images:
Another issue here is that the test are not run....
Hi Tischi,
I created some data that could be used for testing. It contains raw
(raw data) pc
(pixel classification prediction maps) and oc
(object classification label image + tables):
I have confirmed that I can open these individually in MoBiE (not using regexes).
Thanks! Great test case!
Spaces in file names... iso.2603_Object Identities.h5
not ideal... ;-)
I know, but that is default output of ilastik (unfortunately). Plus I thought it adds to the challenge :). While you can enforce no spaces for your own work, people will be adding spaces :D
Works:
final OpenMultipleImagesAndLabelsCommand command = new OpenMultipleImagesAndLabelsCommand();
command.image0 = new File( "src/test/resources/ilastik-multiple/raw/iso.*.png" );
command.image1 = new File( "src/test/resources/ilastik-multiple/pc/iso..*_Probabilities.h5" );
command.labels0 = new File( "src/test/resources/ilastik-multiple/oc/iso..*_Object Identities.h5" );
command.table0 = new File( "src/test/resources/ilastik-multiple/oc/iso..*_table.csv" );
command.run();
I currently have troubles opening files via regexes in MoBiE:
I go via the menu: MoBiE -> open -> Open Image and Labels... and get the following error
example regex for these files would be
iso-.*.png
example-png-no-open.zip