Morphological Image Library : Smil vs scikit-image

On taurus

Image metal - 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:31:45 PM
Image    : metal.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.969       0.002       0.967       0.973 - (ms)
  2.0 -    512  1 -       3.619       0.006       3.613       3.630 - (ms)
  4.0 -   1024  1 -      13.604       0.016      13.588      13.642 - (ms)
  8.0 -   2048  1 -      51.300       0.036      51.254      51.370 - (ms)
 16.0 -   4096  1 -     200.057       0.160     199.922     200.432 - (ms)
 32.0 -   8192  1 -     751.899      26.561     721.867     783.379 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.363       0.015       0.353       0.387 - (ms)
  2.0 -    512  1 -       1.564       0.015       1.555       1.602 - (ms)
  4.0 -   1024  1 -       8.389       0.001       8.388       8.390 - (ms)
  8.0 -   2048  1 -      45.845       0.016      45.817      45.865 - (ms)
 16.0 -   4096  1 -     181.224       0.062     181.129     181.306 - (ms)
 32.0 -   8192  1 -     721.892       0.336     721.440     722.500 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.969 |       0.363 |          0.375 -0.426
    512 |       3.619 |       1.564 |          0.432 -0.364
   1024 |      13.604 |       8.389 |          0.617 -0.210
   2048 |      51.300 |      45.845 |          0.894 -0.049
   4096 |     200.057 |     181.224 |          0.906 -0.043
   8192 |     751.899 |     721.892 |          0.960 -0.018

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

* Elapsed time : 98.2 s

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

=> Elapsed time : 99 secs
   Begin        : 18:31:44
   End          : 18:33:23