TrakEM2 : How to export arealist as label tiff in python scripting



I am writing trakem2 script in python to export binary mask of arealists like AreaLists as labels (tif)". Could anyone show me good example?
Thanks a lot.


Hi @K_H1,

Welcome to the forum.

I wrote some scripts to do this. You can read about them here:

They’re written in beanshell. I think it’s worth just taking the relevant script and using it. But if you really need it to be in python, it’ll just be a matter of porting the code.

Good luck,

ps. sorry for the slow response.