Morphological Image Library : Smil vs scikit-image

On nestor

Image eutectic - Type bin - Function areaThreshold


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     : 26/07/2021 08:25:01 PM
Image    : eutectic.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : areaThreshold
  repeat :     7


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

                       *** Image size ***                       

* Smil

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -       2.526       0.089       2.466       2.730 - (ms)
 2.0 -    512  1 -       8.786       0.001       8.784       8.787 - (ms)
 4.0 -   1024  1 -      33.754       0.004      33.750      33.761 - (ms)
 8.0 -   2048  1 -     135.882       0.014     135.860     135.901 - (ms)
16.0 -   4096  1 -     547.615       0.689     547.184     549.283 - (ms)
32.0 -   8192  1 -    2195.162       2.976    2193.462    2202.412 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -       1.213       0.000       1.213       1.214 - (ms)
 2.0 -    512  1 -       4.833       0.002       4.830       4.836 - (ms)
 4.0 -   1024  1 -      22.288       0.014      22.266      22.311 - (ms)
 8.0 -   2048  1 -      96.273       0.037      96.232      96.338 - (ms)
16.0 -   4096  1 -     377.581       0.235     377.340     377.951 - (ms)
32.0 -   8192  1 -    1507.975       1.040    1506.279    1509.756 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.526 |       1.213 |          0.480 -0.318
    512 |       8.786 |       4.833 |          0.550 -0.260
   1024 |      33.754 |      22.288 |          0.660 -0.180
   2048 |     135.882 |      96.273 |          0.709 -0.150
   4096 |     547.615 |     377.581 |          0.690 -0.161
   8192 |    2195.162 |    1507.975 |          0.687 -0.163

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

* Elapsed time : 95.2 s

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

=> Elapsed time : 96 secs
   Begin        : 20:25:01
   End          : 20:26:37