why false function comes up with duotone image?

1 次查看(过去 30 天)
Hi I have a dicom image from ultrasound. I applied a manual segmentation mask using imageSegmenter. I pressed generate function at the Export option.
There is a point that creates an empty mask using the false function
% Create empty mask. BW = false(size(X,1),size(X,2));
From that point and on when I try to imshow the image, it comes with a black and white version of it, where black is the tissue and white the segmented mask.
I don't want this. I want to keep the white area mask (maybe lower its opacity a bit) and also keep the gray tissue of an ultrasound image. Not a black one. How do I do that?
Thanks in advance

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 DICOM Format 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by