Morphological Image Library : Smil vs scikit-image

On taurus

Image cells - Type bin - Function label


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     : 01/09/2021 06:23:17 PM
Image    : cells.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : label
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.865       0.013       0.859       0.898 - (ms)
  2.0 -    512  1 -       3.040       0.006       3.030       3.047 - (ms)
  4.0 -   1024  1 -      12.000       0.010      11.981      12.018 - (ms)
  8.0 -   2048  1 -      47.829       0.066      47.705      47.931 - (ms)
 16.0 -   4096  1 -     190.370       0.774     189.669     192.090 - (ms)
 32.0 -   8192  1 -     724.617      12.978     715.736     753.920 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.320       0.001       0.318       0.321 - (ms)
  2.0 -    512  1 -       1.491       0.001       1.490       1.493 - (ms)
  4.0 -   1024  1 -       8.104       0.004       8.097       8.108 - (ms)
  8.0 -   2048  1 -      44.306       0.182      44.218      44.752 - (ms)
 16.0 -   4096  1 -     178.784       0.030     178.744     178.848 - (ms)
 32.0 -   8192  1 -     715.065       0.254     714.654     715.519 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.865 |       0.320 |          0.369 -0.433
    512 |       3.040 |       1.491 |          0.490 -0.309
   1024 |      12.000 |       8.104 |          0.675 -0.170
   2048 |      47.829 |      44.306 |          0.926 -0.033
   4096 |     190.370 |     178.784 |          0.939 -0.027
   8192 |     724.617 |     715.065 |          0.987 -0.006

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

* Elapsed time : 97.1 s

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

=> Elapsed time : 98 secs
   Begin        : 18:23:16
   End          : 18:24:54