fix wu's algorithm
add figure selection
Merge remote-tracking branch 'origin/master'