Line Detection using Morphology