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 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