Draws the line segments on a given image
img = obj.drawSegments(img, lines) img = obj.drawSegments(img, lines, 'OptionName',optionValue, ...)