Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


asdasd
Posts:
43
Registered:
7/9/10


Re: How can I remove DICOM file information from image?
Posted:
Apr 2, 2012 1:16 PM


"Steve Eddins" wrote in message <jlcjl0$9r6$1@newscl01ah.mathworks.com>... > On 4/2/2012 11:47 AM, elysion87 wrote: > > "Steve Eddins" wrote in message <jlcft2$o7a$1@newscl01ah.mathworks.com>... > >> On 4/2/2012 11:12 AM, elysion87 wrote: > >> > "Steven_Lord" <slord@mathworks.com> wrote in message > >> > <jlc9s4$sfc$1@newscl01ah.mathworks.com>... > >> >> > >> >> > >> >> "elysion87 " <sakirae@gmail.com> wrote in message > >> >> news:jlbth0$eie$1@newscl01ah.mathworks.com... > >> >> > Hi, > >> >> > > >> >> > When I run this code which is given by Matlab Tutorial; > >> >> > > >> >> > % > >> >> > info = dicominfo('CTMONO216ankle.dcm'); > >> >> > Y = dicomread(info); > >> >> > figure, imshow(Y); > >> >> > imcontrast; > >> >> > % > >> >> > > >> >> > I can see the DICOM file. But I want to remove the information which > >> >> is > located the environment of the object .When you run this code, > >> >> you see > some information like date,some datas, patient name vs... > >> >> > Is it possible to remove this information? > >> >> > >> >> Look at the DICOMANON function introduced in release R14: > >> >> > >> >> http://www.mathworks.com/help/toolbox/images/ref/dicomanon.html > >> >> > >> >> > >> http://www.mathworks.com/help/toolbox/images/rn/bqnw2fy1.html#bqnw7ro1 > >> >> > >> >>  > >> >> Steve Lord > >> >> slord@mathworks.com > >> >> To contact Technical Support use the Contact Us link on > >> >> http://www.mathworks.com > >> > > >> > > >> > > >> > I tried this code and I see the same thing; > >> > > >> > % > >> > dicomanon('CTMONO216ankle.dcm', 'out.dcm'); > >> > I = dicomread('b.dcm'); > >> > imshow(I); > >> > imcontrast; > >> > % > >> > >> You wrote to out.dcm using dicomanon, but then you read from b.dcm > >> using dicomread on the next line. > >> > >>  > >> Steve Eddins > >> http://blogs.mathworks.com/steve/ > > > > > > > > Sorry for this mistake.But I tried the codes again but I see the same > > result; > > > > > > dicomanon('CTMONO216ankle.dcm', 'out.dcm'); > > I = dicomread('out.dcm'); > > imshow(I); > > imcontrast; > > The information you are seeing is burned into the image data itself and > so can only be removed by doing some image editing. > > Also, the text included on the image does not include the patient name. > >  > Steve Eddins > http://blogs.mathworks.com/steve/
How can I do this "image editing" ? Could you propose any method or tool?



