Create volumetric mask from dicomContours object

2 ビュー (過去 30 日間)
Kaio Secchinato
Kaio Secchinato 2023 年 3 月 23 日
回答済み: Samyuktha 2023 年 4 月 5 日
I'm trying to create a mask from a dicom object as demonstrated at https://www.mathworks.com/help/images/ref/dicomcontours.createmask.html#d124e70394.
But when I put the function "rtMask = createMask(rtContours,contourIndex,referenceInfo);" gives the following error:
Unrecognized function or variable 'createMask'.
Can anyone help me?

回答 (1 件)

Samyuktha
Samyuktha 2023 年 4 月 5 日
Hi Kaio,
I understand that you are facing an error when 'createMask' function is used.
Please note that the function 'createMask' was introduced in MATLAB R2020b. If you are using a MATLAB version R2020b or any newer version, do check if Image Processing toolbox is installed. Also do check if you are passing an appropriate object to 'createMask'.
More information on how to create volumetric mask from 'dicomContours' object can be found in the following documentation link:
Hope it helps!!

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by