Improving 3D reconstruction via RGB-D camera registration and shading-based surface refinement