Create volumetric mask from dicomContours object

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 DICOM Format 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by