Stable version. Logical and uint8 convertion; drawLine create black lines in RGB pictures.

Signed-off-by: Eduardo L. Francisco <eduardolf85@gmail.com>