EjectFrac

Returns a double which represents the ejection fraction of a heart.

 

function call:

[frac]=vsg('EjectFrac',in_img1,in_img2,p1,p2);

 

Arguments:

in_img1 -  input image, a DICOM image.  A DICOM image of the heart in systolic state

in_img2 -  input image, a DICOM image.  A DICOM image of the heart in diastolic state.

p1 -  a 2-vector specifying the (x,y) location of the approximate centre of the left ventricle in the first slice of the systolic heart image.

p2 -  a 2-vector specifying the (x,y) location of the approximate centre of the left ventricle in the first slice of the diastolic heart image.

 

Description:

frac – a double which returns the estimated ejection fraction of the heart in the input image. This is calculated by segmenting and calculating the volume of the ventricle in both systolic and diastolic states.

 

Example:

stackOfImages1=vsg('DICOMRead','D:\single\patient_17_systolic.dcm');

stackOfImages2=vsg('DICOMRead','D:\second\patient_17_diastolic.dcm');

x1=129;y1=100;

x2=129;y2=106;

[frac]=vsg('EjectFrac',stackOfImages1,stackOfImages2,[x1 y1],[x2 y2])

frac = 0.1899

 

Notes:

1. For RGB or Dicom images, the function operates on all colour planes or slices separately.

2. Dicom images require XMedCon software (version xmedcon-0.10.5-1-win32).

3. DICOM patient data must be in a separate folder.

Home       Functions       Back