Deep cardiac phenotyping with applications in imaging genetics