OpBlockedArray: Clip nonzero block rois to image shape.
Improved an assert message.
tests: testOpBlockedLabelArrary: Added a basic benchmark for label creation, deletion.
utility: Added timer.py (Copied from ilastik)
OpTrainRandomForestBlocked: Parallelize requests labels and features.
tests: OpSparseLabelArray: Added some logging.
RandomForest operators: Removed MaxLabel input slot:
- OpTrainRandomForestBlocked: Determine max label immediately after requesting labels.
- OpPredictRandomForestBlocked: Get max label from classifier.labelCount().
Merge branch 'master' into blockedarray
OpBlockedLabelArray: Removed maxLabel output.
OpValueCache: Added fixAtCurrent slot.
OpTrainRandomForestBlocked: Removed fixClassifier slot.
If you want to freeze the classifier, use a cache with fixAtCurrent slot (e.g. OpValueCache).
OpTrainRandomForestBlocked: maxLabel is max across all label images, not just blocks within the last label image!
OpExportSlot: Connect progressSignal when exporting to multipage tiff.
OpPredictRandomForest: Re-added LabelsCount slot, which is necessary to determine the output shape without re-training the classifier during setupOutputs().
roi.py: Cleanups.
RequestPool: Use block() instead of wait(), since the request result is not returned.
(This allows clients to clean the request in the notify_finished() handler if desired.)
RoiRequestBatch: Use Request-aware SimpleRequestCondition as the synchronization object.
See also: ee60f29b81229589514ae29df44ee70ff819636e and 90ec486b7503c312efb24322fe619ef6febde420
Added OpCxxBlockedArrayCache, which has the same interface as OpBlockedArrayCache but is backed by a blockedarray.
TODO: Integrate with ArrayCacheMemoryMgr thread to free memory that isn't needed any longer.
tests: Added test OpCxxBlockedArrayCache (a modified version of testOpBlockedArrayCache, plus additional tests).
OpSlicedBlockedArrayCache: Replaced internal blockedarray caches with OpCxxBlockedArrayCaches.