Morphological Image Library : Smil vs scikit-image

On nestor

Image bubbles_gray - 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 03:28:26 PM
Image    : bubbles_gray.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : segmentation
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      24.358       0.104      24.194      24.503 - (ms)
  1.0 -    512  1 -      84.558       0.257      84.258      84.999 - (ms)
  2.0 -   1024  1 -     315.584       1.643     311.978     316.818 - (ms)
  4.0 -   2048  1 -    1206.647       3.322    1200.705    1211.051 - (ms)
  8.0 -   4096  1 -    4488.683      13.017    4473.086    4507.749 - (ms)
 16.0 -   8192  1 -   18174.217      38.370   18143.491   18264.519 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      50.380       0.362      49.956      50.754 - (ms)
  1.0 -    512  1 -     216.804       0.321     216.588     217.576 - (ms)
  2.0 -   1024  1 -    1060.563       0.564    1060.006    1061.746 - (ms)
  4.0 -   2048  1 -    4290.271      19.101    4245.459    4304.675 - (ms)
  8.0 -   4096  1 -   16186.570       4.934   16180.650   16196.223 - (ms)
 16.0 -   8192  1 -   59732.453      12.129   59718.269   59749.975 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      24.358 |      50.380 |          2.068  0.316
    512 |      84.558 |     216.804 |          2.564  0.409
   1024 |     315.584 |    1060.563 |          3.361  0.526
   2048 |    1206.647 |    4290.271 |          3.556  0.551
   4096 |    4488.683 |   16186.570 |          3.606  0.557
   8192 |   18174.217 |   59732.453 |          3.287  0.517

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

* Elapsed time : 883.3 s

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

=> Elapsed time : 884 secs
   Begin        : 15:28:25
   End          : 15:43:09