A device configured for optimizing scan parameters for performing a cardiac LGE-MRI scan of a subject, comprising: a processing module, configured to: determine, by a processor, a relaxation time T1 of normal myocardium based on (a) a first initial value of an inversion time TI initial corresponding to a minimal intensity of the normal myocardium, said first initial value of an inversion time being obtained by performing a plurality of MRI TI scout scans on the subject, each MRI TI scout scan having a respective TI value and involving the application of an inversion recovery pulse sequence on the subject and (b) a first multiple of a duration between successive indicia of ventricular depolarization in an ECG signal of the subject during the MRI TI scout scans; wherein the processing module is configured to determine the relaxation time T1 by calculating the relaxation time T1 by an iterative algorithm according to: T 1 n + 1 = TI initial 1 ln 2 − ln 1 + e − TR / T 1 n, wherein n is a prescribed number of iterations starting from 0 until convergence, and TR equals the first multiple of the duration between successive indicia, where TR is the time interval between adjacent inversion pulses applied during the MRI TI scout scans, and wherein, for initialization, n=0 and T1 n=0 =0, and when n=1, T1 1 =TI initial /In; wherein the processing module is further configured to determine a first optimized inversion time TI optimal based on the relaxation time T1 and a second multiple of a duration of successive indicia of ventricular depolarization of the ECG signal, wherein the first optimized inversion time is determined by the relationship of: TI optimal = T 1 ⋅ ln 2 1 + e − TR / T 1, wherein T1 is the relaxation time which was calculated using the iterative algorithm and TR is the second multiple of the duration between successive indicia of ventricular depolarization in the ECG signal during the LGE-MRI scan and equal to an interval between adjacent inversion pulses applied during the LGE-MRI scan. a processing module, configured to: determine, by a processor, a relaxation time T1 of normal myocardium based on (a) a first initial value of an inversion time TI initial corresponding to a minimal intensity of the normal myocardium, said first initial value of an inversion time being obtained by performing a plurality of MRI TI scout scans on the subject, each MRI TI scout scan having a respective TI value and involving the application of an inversion recovery pulse sequence on the subject and (b) a first multiple of a duration between successive indicia of ventricular depolarization in an ECG signal of the subject during the MRI TI scout scans; wherein the processing module is configured to determine the relaxation time T1 by calculating the relaxation time T1 by an iterative algorithm according to: T 1 n + 1 = TI initial 1 ln 2 − ln 1 + e − TR / T 1 n, determine, by a processor, a relaxation time T1 of normal myocardium based on (a) a first initial value of an inversion time TI initial corresponding to a minimal intensity of the normal myocardium, said first initial value of an inversion time being obtained by performing a plurality of MRI TI scout scans on the subject, each MRI TI scout scan having a respective TI value and involving the application of an inversion recovery pulse sequence on the subject and (b) a first multiple of a duration between successive indicia of ventricular depolarization in an ECG signal of the subject during the MRI TI scout scans; wherein the processing module is configured to determine the relaxation time T1 by calculating the relaxation time T1 by an iterative algorithm according to: T 1 n + 1 = TI initial 1 ln 2 − ln 1 + e − TR / T 1 n, wherein n is a prescribed number of iterations starting from 0 until convergence, and TR equals the first multiple of the duration between successive indicia, where TR is the time interval between adjacent inversion pulses applied during the MRI TI scout scans, and wherein, for initialization, n=0 and T1 n=0 =0, and when n=1, T1 1 =TI initial /In; wherein the processing module is further configured to determine a first optimized inversion time TI optimal based on the relaxation time T1 and a second multiple of a duration of successive indicia of ventricular depolarization of the ECG signal, wherein the first optimized inversion time is determined by the relationship of: TI optimal = T 1 ⋅ ln 2 1 + e − TR / T 1, wherein T1 is the relaxation time which was calculated using the iterative algorithm and TR is the second multiple of the duration between successive indicia of ventricular depolarization in the ECG signal during the LGE-MRI scan and equal to an interval between adjacent inversion pulses applied during the LGE-MRI scan.