Extract the ROI from the input and do some process on ROI in order to enhance the performance
Fix some error of procedure
If the PictureBox of input has not image, user can not click it to segment region.
Ehance the contour that is outputed from RegionGrowing
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.
Change the procedure of RegionGrowing
1.This function offers an argument to decide whether it will count the area of region.
2.If the position of the original seed is on the contour, this function will shift it to proper position.
Use correct mathod to find the area of ground truth image
Let the MAD and DSC display more precisely