Capturing patient anatomy for designing and manufacturing personalized prostheses