patch digitizing