Committing changes for edge detection