Morphological Image Library : Smil vs scikit-image

On taurus

Image eutectic - 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 11:09:01 AM
Image    : eutectic.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 -      18.192       0.028      18.158      18.239 - (ms)
  2.0 -    512  1 -      66.385       0.104      66.228      66.568 - (ms)
  4.0 -   1024  1 -     275.293       0.889     274.625     277.176 - (ms)
  8.0 -   2048  1 -    1125.044      20.743    1097.567    1144.621 - (ms)
 16.0 -   4096  1 -    4744.897      42.323    4696.507    4838.745 - (ms)
 32.0 -   8192  1 -   23149.369     572.195   22564.471   24043.257 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      73.482       0.046      73.426      73.554 - (ms)
  2.0 -    512  1 -     169.373       0.515     168.993     170.598 - (ms)
  4.0 -   1024  1 -     386.756       0.311     386.278     387.221 - (ms)
  8.0 -   2048  1 -    1173.980      22.145    1157.505    1226.587 - (ms)
 16.0 -   4096  1 -    5649.790      41.840    5608.158    5719.243 - (ms)
 32.0 -   8192  1 -   25725.996     202.715   25286.506   25942.525 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      18.192 |      73.482 |          4.039  0.606
    512 |      66.385 |     169.373 |          2.551  0.407
   1024 |     275.293 |     386.756 |          1.405  0.148
   2048 |    1125.044 |    1173.980 |          1.043  0.018
   4096 |    4744.897 |    5649.790 |          1.191  0.076
   8192 |   23149.369 |   25725.996 |          1.111  0.046

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

* Elapsed time : 541.5 s

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

=> Elapsed time : 542 secs
   Begin        : 11:09:01
   End          : 11:18:03