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 ME Pentium III, 850MHz, 60MB RAM machine:
SDC Morphology Toolbox V1.00 Benchmark
Made on 28-Nov-2001 computer=PCWIN
image filename=csample.jpg, width=640, height=480
This machine is 12.50000 faster than Sun Sparc 2
Function time (sec.)
1. Union binary 0.054000
2. Union gray-scale 0.017000
3. Dilation bin, mmsecross 0.044000
4. Dilation gray-scale, mmsecross 0.022000
5. Dilation gray, non-flat 3x3 SE 0.050000
6. Open binary, mmsecross 0.060000
7. Open gray-scale, mmsecross 0.044000
8. Open gray, non-flat 3x3 SE 0.099000
9. Distance mmsecross 0.104000
10. Distance Euclidean 0.121000
11. Geodesic distance mmsecross 0.132000
12. Geodesic distance Euclidean 1.357000
13. Area open bin 0.247000
14. Area open gray-scale 0.434000
15. Label mmsecross 0.153000
16. Regional maximum, mmsecross 0.160000
17. Open by rec, gray, mmsecross 0.160000
18. ASF by rec, oc, mmsecross, 1 0.291000
19. Gradient, gray-scale, mmsecross 0.061000
20. Thinning 0.362000
21. Watershed transform 0.544000
Average 0.215048