CCCD: Corner detection and curve reconstruction for improved 3D surface reconstruction from 2D medical images