Learning image smooth canny samples