User`s guide

6 Morphological Operations
The file testpat1.png is an intensity image of a wheel that contains 24
black spokes.
3 Create a new Simulink model, and add to it the blocks shown in the
following table.
Block Library Quantity
Image From
Workspace
VideoandImageProcessing
Blockset > Sources
1
Opening Video and Image Processing
Blockset > Morphological
Operations
1
Label Video an d Im age Processing
Blockset > Morphological
Operations
1
Video Viewer Video and Image Processing
Blockset > Sinks
2
Constant Simulink > Sources
1
Relational Operator Simulink > Logic and Bit
Operations
1
Display Signal Processing B lockset > Signal
Processing Sinks
1
4 Position the blocks as shown in the following figure. The unconnected ports
disappear when y ou set block parame ters.
6-4