Morphological Image Library : Smil vs scikit-image

On nestor

Image alumine - 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:17:27 PM
Image    : alumine.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 -       2.955       0.004       2.953       2.964 - (ms)
 2.0 -    512  1 -      10.646       0.002      10.644      10.649 - (ms)
 4.0 -   1024  1 -      41.145       0.004      41.138      41.151 - (ms)
 8.0 -   2048  1 -     165.136       0.020     165.106     165.165 - (ms)
16.0 -   4096  1 -     662.424       0.284     662.088     662.785 - (ms)
32.0 -   8192  1 -    2679.976       1.013    2678.761    2681.875 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -       1.401       0.000       1.401       1.402 - (ms)
 2.0 -    512  1 -       5.673       0.003       5.669       5.678 - (ms)
 4.0 -   1024  1 -      25.368       0.007      25.353      25.376 - (ms)
 8.0 -   2048  1 -     108.888       0.095     108.730     109.062 - (ms)
16.0 -   4096  1 -     428.390       0.259     428.209     428.991 - (ms)
32.0 -   8192  1 -    1716.138       0.880    1714.764    1717.558 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.955 |       1.401 |          0.474 -0.324
    512 |      10.646 |       5.673 |          0.533 -0.273
   1024 |      41.145 |      25.368 |          0.617 -0.210
   2048 |     165.136 |     108.888 |          0.659 -0.181
   4096 |     662.424 |     428.390 |          0.647 -0.189
   8192 |    2679.976 |    1716.138 |          0.640 -0.194

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

* Elapsed time : 99.6 s

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

=> Elapsed time : 101 secs
   Begin        : 20:17:26
   End          : 20:19:07