User`s guide

4 Conversions
5 Use the Image from Workspace block to import your image from the
MATLAB workspace. Set the Value parameter to
I
6 Use the Vi
deo Viewer1 block to view the original intensity im a ge. Accept
the defa
ult parameters.
7 Use the C onstant block to define a threshold value for the Relational
Operator block. Since the pixel values range from 0 to 255, set the
Constant value parameter to
128. This value is image dependent.
8 Use the Relational Operator block to perform a thresholding operation
that converts your intensity image to a binary image. Set the Relational
Operator parameter to
>. If the input to the Relational Operator block
is g reater than 128, its output is a Boolean 1; otherwise, its output is
a Boolean 0.
4-4