Expand it by a
factor of 18 in the width dimension and 13 in the
height dimension. These factors were chosen in order
for this image to exactly match with the numbers in the image file
(numbers.viff)
Display the image.
Select and display the $DIP/data/numbers.viff image.
Use operators
User defined and
Display Image. Verify if the pixel data type of the image is bit. If
that is the case, it is necessary to convert to unsigned byte and normalize
it to 255 using the
Normalize operator.
Add the constant 128 to the
zoomed image. Note that there is overflow in this operation. In
this case the overflow effect is desired. Combine the zoomed image
and this last one using the
Gate Data operator,
with the numbers.viff image acting as the gating operator.