Morphological Image Library : Smil vs scikit-image

On taurus

Image eutectic - 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     : 05/08/2021 10:14:35 AM
Image    : eutectic.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 -       3.697       0.116       3.642       3.981 - (ms)
  2.0 -    512  1 -      12.504       0.009      12.499      12.525 - (ms)
  4.0 -   1024  1 -      47.785       0.055      47.749      47.919 - (ms)
  8.0 -   2048  1 -     189.038       0.020     189.009     189.069 - (ms)
 16.0 -   4096  1 -     790.675      16.396     773.602     827.168 - (ms)
 32.0 -   8192  1 -    3202.547      42.634    3153.155    3294.567 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       1.143       0.001       1.141       1.144 - (ms)
  2.0 -    512  1 -       5.046       0.006       5.040       5.056 - (ms)
  4.0 -   1024  1 -      22.141       0.055      22.104      22.236 - (ms)
  8.0 -   2048  1 -     128.373       0.524     128.066     129.643 - (ms)
 16.0 -   4096  1 -     450.698       0.511     450.196     451.754 - (ms)
 32.0 -   8192  1 -    1808.200       6.429    1802.149    1819.895 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       3.697 |       1.143 |          0.309 -0.510
    512 |      12.504 |       5.046 |          0.404 -0.394
   1024 |      47.785 |      22.141 |          0.463 -0.334
   2048 |     189.038 |     128.373 |          0.679 -0.168
   4096 |     790.675 |     450.698 |          0.570 -0.244
   8192 |    3202.547 |    1808.200 |          0.565 -0.248

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

* Elapsed time : 122.1 s

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

=> Elapsed time : 123 secs
   Begin        : 10:14:34
   End          : 10:16:37