|
Morphological Image Library : Smil vs scikit-image |
On nestorImage coffee - Type bin - Function erodeSMIL (Simple Morphological Image Library) 1.0.0-dev Copyright (c) 2011-2016, Matthieu FAESSEL and ARMINES Copyright (c) 2017-2021, CMM - Centre de Morphologie Mathematique All rights reserved. Date : 30/09/2021 02:16:29 PM Image : coffee.png width : 256 height : 256 depth : 1 type : binary Function : erode repeat : 7 -*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*- *** Image size *** * Smil - Side SE - Mean Std Dev Min Max ------------------------------------------------------------------- 1.0 - 256 1 - 0.016 0.000 0.016 0.016 - (ms) 2.0 - 512 1 - 0.032 0.000 0.032 0.032 - (ms) 4.0 - 1024 1 - 0.095 0.000 0.095 0.095 - (ms) 8.0 - 2048 1 - 0.370 0.000 0.370 0.370 - (ms) 16.0 - 4096 1 - 2.465 0.001 2.464 2.468 - (ms) 32.0 - 8192 1 - 10.076 0.004 10.071 10.081 - (ms) * skImage - Side SE - Mean Std Dev Min Max ------------------------------------------------------------------- 1.0 - 256 1 - 0.926 0.000 0.926 0.927 - (ms) 2.0 - 512 1 - 3.138 0.000 3.138 3.139 - (ms) 4.0 - 1024 1 - 12.642 0.001 12.641 12.645 - (ms) 8.0 - 2048 1 - 53.476 0.004 53.471 53.484 - (ms) 16.0 - 4096 1 - 210.477 0.044 210.421 210.555 - (ms) 32.0 - 8192 1 - 838.980 0.044 838.907 839.040 - (ms) * Speed-up : (dt_skimage / dt_Smil) | T(Smil) | T(skImage) | T(skImage)/T(Smil) [*] --------------------------------------------------------------- 256 | 0.016 | 0.926 | 56.261 1.750 512 | 0.032 | 3.138 | 97.971 1.991 1024 | 0.095 | 12.642 | 133.221 2.125 2048 | 0.370 | 53.476 | 144.607 2.160 4096 | 2.465 | 210.477 | 85.387 1.931 8192 | 10.076 | 838.980 | 83.262 1.920 - [*] : ratio and log10(ratio) in columns * Elapsed time : 97.4 s -*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*- *** Structuring element size *** * Smil - Side SE - Mean Std Dev Min Max ------------------------------------------------------------------- 8.0 - 2048 1 - 0.373 0.000 0.372 0.373 - (ms) 8.0 - 2048 2 - 0.703 0.000 0.703 0.703 - (ms) 8.0 - 2048 3 - 1.026 0.000 1.026 1.026 - (ms) 8.0 - 2048 4 - 1.350 0.000 1.349 1.350 - (ms) 8.0 - 2048 5 - 1.673 0.000 1.673 1.674 - (ms) 8.0 - 2048 6 - 1.996 0.000 1.996 1.996 - (ms) 8.0 - 2048 7 - 2.319 0.001 2.319 2.321 - (ms) 8.0 - 2048 8 - 2.641 0.000 2.641 2.642 - (ms) * skImage - Side SE - Mean Std Dev Min Max ------------------------------------------------------------------- 8.0 - 2048 1 - 53.199 0.005 53.191 53.206 - (ms) 8.0 - 2048 2 - 96.810 0.007 96.799 96.821 - (ms) 8.0 - 2048 3 - 169.269 0.053 169.237 169.398 - (ms) 8.0 - 2048 4 - 238.279 0.011 238.268 238.304 - (ms) 8.0 - 2048 5 - 324.662 0.006 324.653 324.671 - (ms) 8.0 - 2048 6 - 428.431 0.017 428.409 428.460 - (ms) 8.0 - 2048 7 - 549.652 0.216 549.524 550.179 - (ms) 8.0 - 2048 8 - 688.197 0.033 688.131 688.241 - (ms) * Speed-up : (dt_skimage / dt_Smil) | T(Smil) | T(skImage) | T(skImage)/T(Smil) [*] --------------------------------------------------------------- 1 | 0.373 | 53.199 | 142.808 2.155 2 | 0.703 | 96.810 | 137.702 2.139 3 | 1.026 | 169.269 | 164.979 2.217 4 | 1.350 | 238.279 | 176.551 2.247 5 | 1.673 | 324.662 | 194.049 2.288 6 | 1.996 | 428.431 | 214.653 2.332 7 | 2.319 | 549.652 | 237.007 2.375 8 | 2.641 | 688.197 | 260.534 2.416 - [*] : ratio and log10(ratio) in columns * Elapsed time : 130.0 s -*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*- => Elapsed time : 229 secs Begin : 14:16:28 End : 14:20:17 |