Problem macro-coding trainable weka segmentation

weka
batch-processing
fiji
Tags: #<Tag:0x00007fd54327ba58> #<Tag:0x00007fd54327b8f0> #<Tag:0x00007fd54327b760>

#1

Hello all, I have problem about macro coding TWS.
The goal of my macro is to load a TWS trained classier and apply it to images of my interest.
Same code does work for a single image but did not work in a batch mode.
Is TWS just not compatible with batch?
Thank you for your time reading my question.


#2

No, because it needs the TWS window to be opened and that is a problem in batch mode. I recommend you to use this simple script that applies a saved classifier to all images in a folder.


#3

thank you! I will try to learn it this weekend!