Morphological Image Library : Smil vs scikit-image

On taurus

Image alumine - 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:21:18 AM
Image    : alumine.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.616       0.009       2.607       2.635 - (ms)
  2.0 -    512  1 -       8.596       0.012       8.589       8.626 - (ms)
  4.0 -   1024  1 -      33.084       0.027      33.054      33.146 - (ms)
  8.0 -   2048  1 -     152.519       1.090     151.991     155.186 - (ms)
 16.0 -   4096  1 -    1116.543       3.295    1111.929    1121.700 - (ms)
 32.0 -   8192  1 -    5766.639     141.571    5435.591    5911.551 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       4.267       0.011       4.243       4.277 - (ms)
  2.0 -    512  1 -      19.376       0.015      19.364      19.410 - (ms)
  4.0 -   1024  1 -     101.742       0.241     101.595     102.327 - (ms)
  8.0 -   2048  1 -     550.069       3.665     544.249     556.369 - (ms)
 16.0 -   4096  1 -    3495.430      30.325    3467.902    3560.138 - (ms)
 32.0 -   8192  1 -   17958.949     151.450   17703.952   18118.231 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.616 |       4.267 |          1.631  0.213
    512 |       8.596 |      19.376 |          2.254  0.353
   1024 |      33.084 |     101.742 |          3.075  0.488
   2048 |     152.519 |     550.069 |          3.607  0.557
   4096 |    1116.543 |    3495.430 |          3.131  0.496
   8192 |    5766.639 |   17958.949 |          3.114  0.493

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

* Elapsed time : 289.4 s

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

=> Elapsed time : 290 secs
   Begin        : 09:21:17
   End          : 09:26:07