Morphological Image Library : Smil vs scikit-image

On taurus

Image cells - Type bin - Function distance


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 09:35:49 AM
Image    : cells.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : distance
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       2.201       0.032       2.185       2.278 - (ms)
  2.0 -    512  1 -       7.523       0.007       7.514       7.537 - (ms)
  4.0 -   1024  1 -      30.402       0.033      30.374      30.481 - (ms)
  8.0 -   2048  1 -     141.524       0.028     141.473     141.566 - (ms)
 16.0 -   4096  1 -    1147.301      18.185    1131.581    1189.248 - (ms)
 32.0 -   8192  1 -    5306.472     190.057    5125.425    5631.143 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       4.031       0.006       4.024       4.037 - (ms)
  2.0 -    512  1 -      19.914       0.055      19.817      19.985 - (ms)
  4.0 -   1024  1 -     106.164       0.467     105.473     106.940 - (ms)
  8.0 -   2048  1 -     914.817       9.787     897.045     929.679 - (ms)
 16.0 -   4096  1 -    3760.799      19.500    3731.011    3793.256 - (ms)
 32.0 -   8192  1 -   18707.432     130.218   18536.699   18892.952 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.201 |       4.031 |          1.831  0.263
    512 |       7.523 |      19.914 |          2.647  0.423
   1024 |      30.402 |     106.164 |          3.492  0.543
   2048 |     141.524 |     914.817 |          6.464  0.811
   4096 |    1147.301 |    3760.799 |          3.278  0.516
   8192 |    5306.472 |   18707.432 |          3.525  0.547

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

* Elapsed time : 298.8 s

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

=> Elapsed time : 300 secs
   Begin        : 09:35:48
   End          : 09:40:48