How to transfer all the coordinate binary into my image dicom
3 views (last 30 days)
Show older comments
mohd akmal masud on 17 Jan 2023
Commented: Image Analyst on 17 Jan 2023
I was do segmentation in my dicom image. then I got the binary image.
then how to transfer all the coordinate binary into my image dicom? So that only binary 1 appear in my dicom.
I've tried below but gor error.
My dicom image as attached.
% read dicom image
info = dicominfo('I-13125610N1.dcm');
% do segmentation using adaptthresh
T = adaptthresh(spect, 0.000000000000001, "NeighborhoodSize", 27);
% change to binary images
BW = imbinarize(spect,T);
% transfer all the coordinate binary into my image dicom
p = spect.*BW;
Image Analyst on 17 Jan 2023
Not sure what you want. Do you want the BW image's white areas to appear in your original image as pure white (or some other uniform color like you'd get with imoverlay)?
Find more on DICOM Format in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!