Filtering for Closed Curves