User`s guide
CountingObjectsinanImage
Asyoucanseeintheprecedingfigure, the spokes are now separate white
objects. In the model, the Display b lock correctly indicates that there are
24 distinct spokes.
You have used the Opening and Label blocks to count the number of spokes in
an image. For more information about these blocks, see the Opening and Label
block reference pages in the Video and Image Processing Blockset Reference.If
you want to send the number of spokes to the M ATLAB workspace, use the
6-9