RAPID- Robust and Accurate Polygon Interface Detection