Merge pull request #19 from liuzhaoguo/master

make the PeripheralContrast could run
Merge pull request #20 from liuzhaoguo/master

modify the test
Merge pull request #21 from liuzhaoguo/master

let code meets PEP8 standard and add connectivity
Modified the connectivity to adjust the 2D ndarray.
Add srgtest.py, which can process the 2D data and 3D data well. The SeededRegionGrowing algorithm also been modified to make it work properly. Using the fslview tools to view the result file.
Merge branch 'master' of github.com:BNUCNL/region-growing-froi
Merge pull request #22 from zhouguangfu/master

Add srgtest.py, which can process the 2D data and 3D data well.
Modified the parameter of the SimilarityCriteria class to be a region class.
Modified the SeededRegionGrowing class to adjust to the 4D data.
Merge pull request #24 from liuzhaoguo/master

modify the AdaptiveSRG
Modified the SeededRegionGrowing class to adjust to the 4D data.
Merge branch 'master' of github.com:BNUCNL/region-growing-froi

Conflicts:
	algorithm/regiongrowing.py
Merge pull request #25 from zhouguangfu/master

Modified the SeededRegionGrowing class to adjust to the 4D data.
modify RegionOptimizer