Hack the createMask function
古いコメントを表示
I had been working on Dicom files and recently switched to txt files exported by inhouse functions. I was trying to use the createMask function to convert structure contours into binary masks. However, I don't use Dicom files any more. So I wrote the same information as in the dicomcontours object into a structure and fed it to the createMask function. Then I realized that createMask does not accept data types other than dicomcontours as the first input. Is there a way to convert the structure into a dicomcontours class or hack into the createMask function to force it to allow my input? Any comments are appreciated!
2 件のコメント
Walter Roberson
2021 年 8 月 19 日
Not sure what kind of information is available in your structure...
Xinyi Li
2021 年 8 月 20 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Read and Write Image Data from Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!