added implicit conversions, binary images, line finder