Morphological Image Library : Smil vs scikit-image

On nestor

Image cells - 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 10:54:10 PM
Image    : cells.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.096       0.036      11.065      11.164 - (ms)
 2.0 -    512  1 -      42.178       0.134      42.014      42.398 - (ms)
 4.0 -   1024  1 -     172.015       0.152     171.779     172.234 - (ms)
 8.0 -   2048  1 -     727.432       5.637     721.511     738.966 - (ms)
16.0 -   4096  1 -    3257.678       9.143    3242.113    3270.026 - (ms)
32.0 -   8192  1 -   14109.438      24.519   14079.730   14153.104 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -       7.213       0.014       7.199       7.235 - (ms)
 2.0 -    512  1 -      28.946       0.012      28.930      28.966 - (ms)
 4.0 -   1024  1 -     142.232       0.024     142.196     142.262 - (ms)
 8.0 -   2048  1 -     654.926       1.292     653.017     657.174 - (ms)
16.0 -   4096  1 -    3003.959       3.565    2996.957    3008.524 - (ms)
32.0 -   8192  1 -   13102.320      29.797   13073.385   13155.560 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      11.096 |       7.213 |          0.650 -0.187
    512 |      42.178 |      28.946 |          0.686 -0.164
   1024 |     172.015 |     142.232 |          0.827 -0.083
   2048 |     727.432 |     654.926 |          0.900 -0.046
   4096 |    3257.678 |    3003.959 |          0.922 -0.035
   8192 |   14109.438 |   13102.320 |          0.929 -0.032

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

* Elapsed time : 379.8 s

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

=> Elapsed time : 380 secs
   Begin        : 22:54:10
   End          : 23:00:30