Morphological Image Library : Smil vs scikit-image

On nestor

Image bubbles_gray - Type gray - Function gradient


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     : 30/09/2021 04:41:36 PM
Image    : bubbles_gray.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : gradient
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.100       0.000       0.100       0.100 - (ms)
  1.0 -    512  1 -       0.135       0.000       0.135       0.135 - (ms)
  2.0 -   1024  1 -       0.278       0.000       0.278       0.278 - (ms)
  4.0 -   2048  1 -       2.777       0.001       2.775       2.779 - (ms)
  8.0 -   4096  1 -      10.885       0.007      10.870      10.893 - (ms)
 16.0 -   8192  1 -      42.585       0.157      42.396      42.864 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      11.173       0.015      11.164      11.209 - (ms)
  1.0 -    512  1 -      44.003       0.007      43.995      44.016 - (ms)
  2.0 -   1024  1 -     182.800       0.923     182.408     185.062 - (ms)
  4.0 -   2048  1 -     740.885       0.289     740.419     741.295 - (ms)
  8.0 -   4096  1 -    2989.671       1.231    2988.531    2992.448 - (ms)
 16.0 -   8192  1 -   12008.783       6.410   11998.731   12016.514 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.100 |      11.173 |        111.303  2.047
    512 |       0.135 |      44.003 |        324.933  2.512
   1024 |       0.278 |     182.800 |        657.146  2.818
   2048 |       2.777 |     740.885 |        266.759  2.426
   4096 |      10.885 |    2989.671 |        274.662  2.439
   8192 |      42.585 |   12008.783 |        281.993  2.450

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

* Elapsed time : 201.5 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -       2.108       0.011       2.103       2.134 - (ms)
  4.0 -   2048  2 -       2.770       0.002       2.767       2.773 - (ms)
  4.0 -   2048  3 -       3.371       0.001       3.370       3.373 - (ms)
  4.0 -   2048  4 -       3.995       0.001       3.993       3.997 - (ms)
  4.0 -   2048  5 -       4.609       0.002       4.608       4.613 - (ms)
  4.0 -   2048  6 -       5.234       0.002       5.231       5.238 - (ms)
  4.0 -   2048  7 -       5.866       0.002       5.864       5.870 - (ms)
  4.0 -   2048  8 -       6.474       0.006       6.468       6.485 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     742.167       0.440     741.657     742.907 - (ms)
  4.0 -   2048  2 -     752.188       0.156     752.022     752.541 - (ms)
  4.0 -   2048  3 -     767.972       0.112     767.822     768.116 - (ms)
  4.0 -   2048  4 -     786.541       0.054     786.492     786.630 - (ms)
  4.0 -   2048  5 -     810.066       0.112     809.936     810.264 - (ms)
  4.0 -   2048  6 -     827.565       0.106     827.472     827.809 - (ms)
  4.0 -   2048  7 -     848.594       1.219     847.988     851.575 - (ms)
  4.0 -   2048  8 -     886.341       1.539     883.889     887.465 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       2.108 |     742.167 |        352.019  2.547
      2 |       2.770 |     752.188 |        271.538  2.434
      3 |       3.371 |     767.972 |        227.797  2.358
      4 |       3.995 |     786.541 |        196.899  2.294
      5 |       4.609 |     810.066 |        175.742  2.245
      6 |       5.234 |     827.565 |        158.122  2.199
      7 |       5.866 |     848.594 |        144.652  2.160
      8 |       6.474 |     886.341 |        136.901  2.136

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

* Elapsed time : 156.9 s


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

=> Elapsed time : 359 secs
   Begin        : 16:41:36
   End          : 16:47:35