Morphological Image Library : Smil vs scikit-image

On taurus

Image balls - Type bin - Function segmentation


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:31:33 AM
Image    : balls.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : segmentation
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      17.716       0.617      17.422      19.225 - (ms)
  2.0 -    512  1 -      62.783       0.098      62.725      63.021 - (ms)
  4.0 -   1024  1 -     259.929       0.697     259.365     261.608 - (ms)
  8.0 -   2048  1 -    1016.223       8.410    1007.057    1033.836 - (ms)
 16.0 -   4096  1 -    4329.935      43.028    4279.614    4404.632 - (ms)
 32.0 -   8192  1 -   19568.934     141.915   19405.564   19797.849 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      11.245       0.009      11.236      11.262 - (ms)
  2.0 -    512  1 -      39.934       0.014      39.924      39.967 - (ms)
  4.0 -   1024  1 -     182.692       4.017     180.165     191.524 - (ms)
  8.0 -   2048  1 -     965.046       7.203     955.670     978.577 - (ms)
 16.0 -   4096  1 -    5122.947      37.454    5061.844    5171.473 - (ms)
 32.0 -   8192  1 -   24147.021     116.318   24018.919   24404.499 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      17.716 |      11.245 |          0.635 -0.197
    512 |      62.783 |      39.934 |          0.636 -0.197
   1024 |     259.929 |     182.692 |          0.703 -0.153
   2048 |    1016.223 |     965.046 |          0.950 -0.022
   4096 |    4329.935 |    5122.947 |          1.183  0.073
   8192 |   19568.934 |   24147.021 |          1.234  0.091

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

* Elapsed time : 493.3 s

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

=> Elapsed time : 495 secs
   Begin        : 10:31:32
   End          : 10:39:47