benjaminirving / maskSLIC

Simple linear iterative clustering (SLIC) in a region of interest (ROI)
Other
38 stars 9 forks source link

Performance #2

Open benjaminirving opened 7 years ago

benjaminirving commented 7 years ago

From scikit-image/scikit-image#1569

@benjaminirving,

seed_type='grid', recompute_seed=True approx. doubles runtime, with 'nplace' the runtime is more than 10-fold higher.

There are weird results without warning if there is a non-bool mask parameter (for me uint8 after resizing the mask).

Best regards,

Kai

benjaminirving commented 7 years ago

This is slower than SLIC for large regions but faster for small regions.

TODO - investigate additional performance improvements