ilastik / ilastik4ij

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

Added axes serialization to json for export #126

Closed tischi closed 1 month ago

k-dominik commented 1 month ago

Thank you for having a look @btbest

regarding your question on missing resolution and description - these are optional (default parameters for AxisInfo construction are in place).

test script ```Python import vigra atjson = """ { "axes": [ { "key": "y", "typeFlags": 2 } ] } """ print(vigra.AxisTags.fromJSON(atjson)["y"].resolution) ```

So yes, the current code only adds the axis info required for ilastik to interpret it correctly.

k-dominik commented 1 month ago

thx @tischi!!!