Image Segmentation Implementation (partial)

The software now pulls segments out of an image for comparison, this
means comparison of just the top half of a person if required. The
application is however giving unexpected results so implementation is
not yet complete.