Hi
is it possible to change the image of a dcm file with anoher image?
Or create a new dcm file with exact the same tags and a different image?
And it should be done with commandline tools.
Any help is appreciated.
regards.
You could use dcmdump with option +W, replace the raw file and then use dump2dcm. But what is the background of your question? Usually, it's not a good idea to replace the pixel data only (see corresponding postings in comp.protocol.dicom).
we are on a university research project something which I cannot explain right now.All I can say is I have to replace the image with a similar one.
I ll try what you said.
thanks for your help.