I am trying generate a dicom series from volume data.
How can should i give the patient position tag ,orientation tag and pixel spacing tag for each slice? Should I add them in a loop?
I could not find any examples for this. If any reference is there, it will be helpful.