A Novel Method to Automatically Generate Depth Maps Based on Trace Points