| [mmdBrain] [Up] [mmdCells] | Demonstrations |
| User Feedback |
This procedure detects the keys in a gray-scale image of a calculator. The approach used is watershed Beucher's paradigm. The internal markers are the numbers on the keys and the external markers are obtained by the skiz of the keys background.
The threshold operator is used to separated the enhanced objects. This procedure is quite robust, since the background was reduced to very low levels with the opening top-hat.
Image d = mmThreshad(c, 150); mmShow(d);
![]() |
|
| d |
The outside markers are built by taking the watershed (skiz) of the complement of internal markers image.
Image f = mmWatershed(mmNeg(e)); mmShow(f);
![]() |
|
| f |
The calculator keys are extracted by applying the watershed operator on the gradient image, constrained by the markers detected.
Image h = mmCwatershed(b, g, mmSebox()); mmShow(h);
![]() |
|
| h |
| [mmdBrain] [Up] [mmdCells] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |