Add Canny function and refactor attributes management