Fix error of RegionGrowing
The seed will use the pixel that is out of the contour, it will cause the area be the same as the whole image in original code.