Hi Everyone. I Have Code below. But the image look like unwanted segmentation. Because I just want the volume that in red circle only. I just write the location that I want, but result stil same.
info = dicominfo('ArifSyazwan.dcm');
T = adaptthresh(spect, 0.000000001);
BW = imbinarize(spect,T);
imshow3D(BW(56:65, 72: 62));
data = regionprops('table', BW,'Area','Centroid')
Should be the image appear like below that I want
Anyone can help me?