Morphological Image Library : Smil vs scikit-image

On nestor

Image bubbles_gray - Type gray - Function hMinima


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     : 27/07/2021 12:06:43 AM
Image    : bubbles_gray.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : hMinima
  repeat :     7


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

                       *** Image size ***                       

* Smil

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 0.5 -    256  1 -      11.731       0.006      11.723      11.740 - (ms)
 1.0 -    512  1 -      46.754       0.031      46.717      46.799 - (ms)
 2.0 -   1024  1 -     202.223       0.195     201.914     202.488 - (ms)
 4.0 -   2048  1 -    1084.634       4.724    1079.747    1094.558 - (ms)
 8.0 -   4096  1 -    6120.743      29.661    6094.057    6187.793 - (ms)
16.0 -   8192  1 -   27279.401      66.063   27163.570   27404.594 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 0.5 -    256  1 -      26.992       0.006      26.985      27.002 - (ms)
 1.0 -    512  1 -      86.028       0.326      85.585      86.756 - (ms)
 2.0 -   1024  1 -     801.601       0.666     800.768     802.612 - (ms)
 4.0 -   2048  1 -    3718.624       1.576    3716.108    3720.669 - (ms)
 8.0 -   4096  1 -   17636.939      66.841   17606.700   17800.600 - (ms)
16.0 -   8192  1 -   82628.984      67.065   82561.052   82746.153 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      11.731 |      26.992 |          2.301  0.362
    512 |      46.754 |      86.028 |          1.840  0.265
   1024 |     202.223 |     801.601 |          3.964  0.598
   2048 |    1084.634 |    3718.624 |          3.428  0.535
   4096 |    6120.743 |   17636.939 |          2.882  0.460
   8192 |   27279.401 |   82628.984 |          3.029  0.481

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

* Elapsed time : 1191.6 s

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

                *** Structuring element size ***                

* Smil

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    512  1 -      46.747       0.044      46.703      46.828 - (ms)
 1.0 -    512  2 -      46.745       0.023      46.709      46.777 - (ms)
 1.0 -    512  3 -      46.704       0.039      46.665      46.770 - (ms)
 1.0 -    512  4 -      46.701       0.026      46.670      46.749 - (ms)
 1.0 -    512  5 -      46.698       0.022      46.656      46.718 - (ms)
 1.0 -    512  6 -      46.719       0.030      46.683      46.761 - (ms)
 1.0 -    512  7 -      46.781       0.044      46.721      46.850 - (ms)
 1.0 -    512  8 -      46.752       0.029      46.700      46.787 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    512  1 -      84.705       0.051      84.669      84.828 - (ms)
 1.0 -    512  2 -      99.261       4.283      93.602     106.774 - (ms)
 1.0 -    512  3 -     114.612       3.020     110.366     119.519 - (ms)
 1.0 -    512  4 -     129.621       5.379     123.657     138.922 - (ms)
 1.0 -    512  5 -     143.140       3.229     138.829     148.291 - (ms)
 1.0 -    512  6 -     151.939       0.713     151.526     153.583 - (ms)
 1.0 -    512  7 -     176.401       5.205     172.552     187.508 - (ms)
 1.0 -    512  8 -     196.919       3.467     194.875     204.601 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |      46.747 |      84.705 |          1.812  0.258
      2 |      46.745 |      99.261 |          2.123  0.327
      3 |      46.704 |     114.612 |          2.454  0.390
      4 |      46.701 |     129.621 |          2.776  0.443
      5 |      46.698 |     143.140 |          3.065  0.486
      6 |      46.719 |     151.939 |          3.252  0.512
      7 |      46.781 |     176.401 |          3.771  0.576
      8 |      46.752 |     196.919 |          4.212  0.624

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

* Elapsed time : 224.3 s


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

=> Elapsed time : 1417 secs
   Begin        : 00:06:42
   End          : 00:30:19