When the program loads image, it will do some pre-processing.
The pre-processing will be done before user click the image. After clicking the image, the program will use the image that has been made the pre-processing. It will make the program faster, when user click the same image.
Add method that can measure the distance of two contour
Add method that can measure the similarity of two region
Add RadioButton that can change different mode
1.One mode is segmentation mode that can segment the region
2.Another mode is similarity mode that can measure the similarity between the result and the ground truth image
Add button that can load the ground truth image by user
When the program loads the ground truth image, it will count the area of region and the number of contour.
Add two Label that can show the numbers of MAD and DSC
Let the interface be more friendly and prevent from notorious input by user
Add button that can save the result
Extract the Otsu method from MultilevelThresholding
Combine thresholding and MultilevelThresholding
Remove useless code
Change the procedure of RegionGrowing
1.It will only find the outer contour of all contours in the region.
2.The inner contours probably attaches to the outer contour, if it is nearby the outer contour.
3.It will find the area that is surrounded by the outer contour.
Extract the ROI from the input and do some process on ROI in order to enhance the performance