Added some new class which inherit SimilarityCriteria class and made som adjustments  about  the StopCriteria, Region and SeededRegionGrowing class.