Slicer4-EMSegment branch from Slicer 3 svn