Analysis of curved line drawings using context and global information