More refactoring

The functions skeletonize() and hough_lines() now accept an image
directly as an argument instead of an image path- I did this because
we're assuming almost everywhere else that loading an image is the
responsibility of scripts and not function call