フィルターのクリア

How to calculate dice overlap for MRI images?

20 ビュー (過去 30 日間)
Sandhiya Prakash
Sandhiya Prakash 2017 年 3 月 24 日
回答済み: Tobias Goodwin-Allcock 2021 年 2 月 25 日
hi! I want to calculate dice overlap for complete tumor ,tumor core and enhancing tumor core.suggest me a way to do it.Thanks in advance.
  2 件のコメント
Image Analyst
Image Analyst 2017 年 3 月 24 日
I don't know what that is. Do you mean the Sørensen–Dice coefficient?
Sandhiya Prakash
Sandhiya Prakash 2017 年 3 月 24 日
yes sir.I mean Sørensen–Dice coefficient only.How to calculate this?

サインインしてコメントする。

回答 (1 件)

Tobias Goodwin-Allcock
Tobias Goodwin-Allcock 2021 年 2 月 25 日
Hi Sandhiya!
You can load the tumor volume masks into matlab using niftiread and then compute the Sørensen–Dice coefficient using dice function.
Say you have CompleteTumorMask.nii.gz and TumorCoreMask.nii.gz in your current directory then you can calculate the dice overlap as follows:
% Load the tumor masks
CompleteTumorMask = niftiread("CompleteTumorMask.nii.gz")
TumorCoreMask = niftiread("TumorCoreMask.nii.gz")
% Compute the dice overlap
CompleteTumor_TumorCore_Overlap = dice(CompleteTumorMask, TumorCoreMask)
I hope this helps!
Toby

カテゴリ

Help Center および File ExchangeAgriculture についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by