Hi,I have a ct dicom image series of inhomogeneous phantom and I want to remove patient table that exist in these images.please help me.

3 views (last 30 days)
for this purpose I write the following code in matlab a = dicomread('E:\dicom\44.dcm'); b=double(a);
sample=b(50:100,250:300); background=mean(mean(sample));
for i=1:512; for j=1:512; if i>385; b(i,j)=background; end end end
image=dicomwrite(uint16(b),'44.dcm');
when I run this code in matlab my images have a severe artifact but patient table remove from the image. how to fix this problem? please help me thanks in advance to your answer and your help.

Answers (0)

Categories

Find more on Convert Image Type 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!