why false function comes up with duotone image?

1 vue (au cours des 30 derniers jours)
Stelios Fanourakis
Stelios Fanourakis le 22 Mar 2018
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

Réponses (0)

Catégories

En savoir plus sur DICOM Format dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by