Integrated Polygon Recognition into Slicer