Finishing up integrating contour detector