Morphological Image Library : Smil vs scikit-image

On taurus

Image tools - Type gray - 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     : 25/08/2021 04:20:29 PM
Image    : tools.png
  width  :   256
  height :   256
  depth  :     1
  type   : gray
Function : segmentation
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      38.367       0.181      38.175      38.634 - (ms)
  2.0 -    512  1 -     138.749       1.503     137.276     140.924 - (ms)
  4.0 -   1024  1 -     428.101      51.950     380.706     534.150 - (ms)
  8.0 -   2048  1 -    1415.671      25.335    1361.501    1451.761 - (ms)
 16.0 -   4096  1 -    5222.580      66.073    5141.562    5318.154 - (ms)
 32.0 -   8192  1 -   20132.486     258.581   19845.148   20667.361 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      52.197       0.015      52.174      52.218 - (ms)
  2.0 -    512  1 -     210.734       0.088     210.638     210.921 - (ms)
  4.0 -   1024  1 -     881.194       0.788     879.663     882.387 - (ms)
  8.0 -   2048  1 -    3686.616      29.915    3659.635    3758.025 - (ms)
 16.0 -   4096  1 -   14750.405     311.341   14569.998   15499.201 - (ms)
 32.0 -   8192  1 -   55811.035      86.320   55737.805   55966.411 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      38.367 |      52.197 |          1.360  0.134
    512 |     138.749 |     210.734 |          1.519  0.182
   1024 |     428.101 |     881.194 |          2.058  0.314
   2048 |    1415.671 |    3686.616 |          2.604  0.416
   4096 |    5222.580 |   14750.405 |          2.824  0.451
   8192 |   20132.486 |   55811.035 |          2.772  0.443

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

* Elapsed time : 863.0 s

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

=> Elapsed time : 864 secs
   Begin        : 16:20:28
   End          : 16:34:52