the code of region growing technique of image process in c++.