Function 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. import ia636 as ia
2. 
3. adshow(ia.iatext('abc'))
4. adshow(ia.iatext('@5HL'))

See Also

  • adshow - Display a binary, gray-scale or color image.