Regression Metric Loss: Learning a Semantic Representation Space for Medical Images