Properly make use of SciJava's `ThreadService` to parallelize batch processing. Also offer an option to configure the number of threads.
Properly make use of SciJava's
ThreadServiceto parallelize batch processing.Also offer an option to configure the number of threads.