User`s guide

4 Conversions
1 If the model you created in “Thresholding Intensity Images Using
Relational Ope rato rs” on page 4-2 is n ot open on your desktop, you can
open an equivalent model by typing
doc_conversion
at the MATLAB command prompt.
2 If you have not already done so, define an intensity image in the MATLAB
workspace. At the MATLAB com m a nd prompt, type
I= imre
ad('rice.png');
I is a 256-by-256 matrix of 8-bit unsigned integer values that range from 0
to 255.
3 Delete t
he Constant and the Relational Operator blocks in this model.
4 From the Video and Image Processing Blockset library, and then from the
Conversions library, click-and-drag an Autothreshold block into your m odel.
4-8