Correcting for Nonuniform Illumination
Block Library Quantity
Sum Simulink > Math Operations
2
Data Typ e Conversi on Simu link > Sig n al Attributes
1
4 Positi on the blo cks as shown in the f ollowing figure.
Once you
have asse mbled the blocks required to correct for uneven
illumin
ation, y ou need to set your block parameters. To do this, double-click
the bloc
ks, m odify the block parameter values, and click OK.
5 UsetheImageFromWorkspaceblocktoimporttheintensityimageinto
your model. Set the Value parameter to
I.
6 Use the Video Viewer block to view the original image. Accept the default
parameters.
7 Use the
Opening b lock to estimate the background of the image.
Set the
Neighborhood or structuring elemen t param eter to
strel(
'disk',15)
.
6-13
Comments to this Manuals