Create the RegionGrowing class.