Added algorithm which uses ground truth threshold images