mmbench measures the speed of many of SDC Morphology Toolbox functions in seconds. At the end, it evaluates the speed of this computer compared to the Sun Sparc 2, using the same benchmark of the MATLAB bench function. An illustrative example of the output of mmbench is, for a MS-Windows 2000 Pentium 4, 2.4GHz, 533MHz system bus, machine:
SDC Morphology Toolbox V1.2 27Sep02 Benchmark
Made on 16-Jul-2003 computer=PCWIN
image filename=csample.jpg, width=640, height=480
Function time (sec.)
1. Union bin 0.018800
2. Union gray-scale 0.003100
3. Dilation bin, mmsecross 0.015600
4. Dilation gray, mmsecross 0.009400
5. Dilation gray, non-flat 3x3 SE 0.012500
6. Open bin, mmsecross 0.017200
7. Open gray-scale, mmsecross 0.014100
8. Open gray, non-flat 3x3 SE 0.025000
9. Distance mmsecross 0.025000
10. Distance Euclidean 0.031200
11. Geodesic distance mmsecross 0.034400
12. Geodesic distance Euclidean 0.306300
13. Area open bin 0.067200
14. Area open gray-scale 0.146800
15. Label mmsecross 0.065700
16. Regional maximum, mmsecross 0.046800
17. Open by rec, gray, mmsecross 0.050000
18. ASF by rec, oc, mmsecross, 1 0.090700
19. Gradient, gray-scale, mmsecross 0.018700
20. Thinning 0.106300
21. Watershed 0.276500
Average 0.065776
This machine is 29.922202 faster than Sun Sparc 2