Function iatext

namespace:morph
page:iatext

Synopse

Create a binary image of a text.

  • y = iatext(txt)
    • y: Image
    • txt: String Text to be written.

Description

iatext creates the binary image y of the text txt. The background of y is 0, while its foreground is 1. The text should be composed only by lower and upper case letters.

Examples

1. from ia870 import iatext, iabshow
2. 
3. iashow(iatext('abc'))
4. iashow(iabshow(iatext('@5HL')))