Morphological Image Library : Smil vs scikit-image

On nestor

Image metal - 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     : 26/07/2021 11:39:10 PM
Image    : metal.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 -      11.663       0.017      11.648      11.696 - (ms)
 2.0 -    512  1 -      43.584       0.015      43.564      43.613 - (ms)
 4.0 -   1024  1 -     178.306       0.249     178.127     178.794 - (ms)
 8.0 -   2048  1 -     770.473      12.930     759.585     793.449 - (ms)
16.0 -   4096  1 -    3661.378      15.039    3630.795    3680.883 - (ms)
32.0 -   8192  1 -   16536.985      26.436   16497.795   16578.616 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -      63.725       0.143      63.549      63.922 - (ms)
 2.0 -    512  1 -     229.251       0.149     229.086     229.476 - (ms)
 4.0 -   1024  1 -     722.096       0.202     721.828     722.368 - (ms)
 8.0 -   2048  1 -    2172.803       0.798    2171.382    2174.063 - (ms)
16.0 -   4096  1 -    6996.940       9.611    6981.495    7009.597 - (ms)
32.0 -   8192  1 -   23013.853      41.144   22980.306   23110.393 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      11.663 |      63.725 |          5.464  0.738
    512 |      43.584 |     229.251 |          5.260  0.721
   1024 |     178.306 |     722.096 |          4.050  0.607
   2048 |     770.473 |    2172.803 |          2.820  0.450
   4096 |    3661.378 |    6996.940 |          1.911  0.281
   8192 |   16536.985 |   23013.853 |          1.392  0.144

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

* Elapsed time : 511.0 s

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

=> Elapsed time : 512 secs
   Begin        : 23:39:10
   End          : 23:47:42