Convert an arbitrary input image into a black and white
dithered image (using the Floyd-Steinberg dithering algorithm
with auto thresholding) suitable for display on the lcd
panel.
Get the coordinate of a point (on this line), with 0
corresponding to the point on the line that is perpendicular to
a line passing through the origin and the line.