Morphological Image Library : Smil vs scikit-image

On nestor

Image eutectic - Type bin - Function thinning


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     : 29/07/2021 09:33:02 AM
Image    : eutectic.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : thinning
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      17.058       0.006      17.047      17.068 - (ms)
  2.0 -    512  1 -      69.993       0.083      69.884      70.101 - (ms)
  4.0 -   1024  1 -     455.085       0.365     454.558     455.743 - (ms)
  8.0 -   2048  1 -    4507.274       1.657    4504.658    4509.585 - (ms)
 16.0 -   4096  1 -   36346.654     719.309   35603.458   38041.725 - (ms)
 32.0 -   8192  1 -  295096.086     593.005  294814.443  296547.250 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      43.461       0.009      43.448      43.473 - (ms)
  2.0 -    512  1 -     335.166       0.025     335.135     335.216 - (ms)
  4.0 -   1024  1 -    2616.338       0.782    2614.761    2617.036 - (ms)
  8.0 -   2048  1 -   21271.475      24.850   21259.338   21331.830 - (ms)
 16.0 -   4096  1 -  168681.827      51.900  168608.385  168737.532 - (ms)
 32.0 -   8192  1 - 1424800.141     162.611 1424662.539 1425073.663 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      17.058 |      43.461 |          2.548  0.406
    512 |      69.993 |     335.166 |          4.789  0.680
   1024 |     455.085 |    2616.338 |          5.749  0.760
   2048 |    4507.274 |   21271.475 |          4.719  0.674
   4096 |   36346.654 |  168681.827 |          4.641  0.667
   8192 |  295096.086 | 1424800.141 |          4.828  0.684

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

* Elapsed time : 15696.0 s

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

=> Elapsed time : 15696 secs
   Begin        : 09:33:02
   End          : 13:54:38