I have written some lines of code using the following function:
adaptivethreshold(IM,ws,c)
and it gives me a Mask bw
. I multiply this mask with my original image bb
and show the result.
clear
clc
bb=dicomread('30421573');
figure(1)
imagesc(bb)
bw=adaptivethreshold(bb,50,128);
imaa=double(bw).*double(bb);
figure(2)
image(imaa)
the original Image and the result are shown:
It does not seem to be giving me any mask for my image. Is there any way I can extract those yellow parts from my results?