1. A computer-implemented method, comprising: preparing a sample set using a prior probability model for a left ventricle and a right ventricle; using a likelihood function to assign a weight to each sample within the sample set; and based on the weighted sample set, determining an area of the right ventricle and the left ventricle.