Clear Filters
Clear Filters

Create volumetric mask from dicomContours object

1 view (last 30 days)
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?

Answers (1)

Samyuktha
Samyuktha on 5 Apr 2023
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!!

Categories

Find more on DICOM Format in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!