Morphological Image Library : Smil vs scikit-image

On nestor

Image metal - Type bin - Function areaThreshold


SMIL (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     : 26/07/2021 08:29:30 PM
Image    : metal.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : areaThreshold
  repeat :     7


-*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-

                       *** Image size ***                       

* Smil

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -       1.200       0.001       1.200       1.203 - (ms)
 2.0 -    512  1 -       4.116       0.000       4.116       4.117 - (ms)
 4.0 -   1024  1 -      15.324       0.006      15.319      15.339 - (ms)
 8.0 -   2048  1 -      61.611       0.008      61.606      61.628 - (ms)
16.0 -   4096  1 -     250.477       2.961     247.962     255.833 - (ms)
32.0 -   8192  1 -    1019.339      11.983    1002.179    1038.691 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -       0.783       0.000       0.783       0.784 - (ms)
 2.0 -    512  1 -       3.114       0.000       3.114       3.115 - (ms)
 4.0 -   1024  1 -      15.067       0.003      15.063      15.071 - (ms)
 8.0 -   2048  1 -      68.394       0.045      68.342      68.465 - (ms)
16.0 -   4096  1 -     265.823       0.092     265.712     265.977 - (ms)
32.0 -   8192  1 -    1057.810       0.304    1057.221    1058.232 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.200 |       0.783 |          0.653 -0.185
    512 |       4.116 |       3.114 |          0.757 -0.121
   1024 |      15.324 |      15.067 |          0.983 -0.007
   2048 |      61.611 |      68.394 |          1.110  0.045
   4096 |     250.477 |     265.823 |          1.061  0.026
   8192 |    1019.339 |    1057.810 |          1.038  0.016

  - [*] : ratio and log10(ratio) in columns

* Elapsed time : 83.7 s

-*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-

=> Elapsed time : 85 secs
   Begin        : 20:29:29
   End          : 20:30:54