Extraction of body dimensions from planar garment photographs of fitting garments