How to calculate left ventricle ejection fraction?

조회 수: 3 (최근 30일)
Ahmad Alenezi
Ahmad Alenezi 2019년 9월 20일
답변: darova 2019년 9월 21일
Hi all
I would like to calculated left ventricle ejection fraction LVEF of the heart from an image set. I have a series of planner images (128x128) (n =16) for one patient (derived from SPECT modality). LVEF is calculated according to the following equation:
LVEF = (Left ventricle end diastolic counts - left ventricle end systolic counts)/ Left ventricle end diastolic counts
Note:
Left ventricle end diastolic counts: is the image of the highest count in the series.
Left ventricle end systolic counts: is the image of the lowest count in the series.
In order to show count from left ventricle only, i drawn ROI around left ventricle and masked all other parts, so that the left ventricle only is visible. I called this serires LVimages.
can you help me on how to do this calculation? note that my image series is called LVimages.
  댓글 수: 9
darova
darova 2019년 9월 20일
FOr eahc image you have 128x128 pixels with some values. What do you want to do with pixels? How to find green area?
Ahmad Alenezi
Ahmad Alenezi 2019년 9월 21일
편집: Ahmad Alenezi 2019년 9월 21일
I want to know the number of pixels and pixel values within ROIs in all images.

댓글을 달려면 로그인하십시오.

채택된 답변

darova
darova 2019년 9월 21일
There is an example with using impoly
I = imread('img1.png');
imshow(I)
h = impoly; % draw polygon
msk = h.createMask; % get pixels inside polygon (binary mask)
number = sum(msk(:)); % number of pixels inside polygon
% create (M x N x 3) mask and get values
msk3 = uint8( repmat(msk,[1 1 3]) );
I1 = msk3 .* I;
figure
imshow(I1)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MRI에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by