From receptive profiles to a metric model of V1