How can I extract the RT-DoseImage

Questions regarding the DCMRT library, a DCMTK add-on that implements support for the various DICOM Radiation Therapy (RT) IODs

Moderator: Moderator Team

Post Reply
Message
Author
Dyuzz
Posts: 3
Joined: Tue, 2017-08-22, 07:59

How can I extract the RT-DoseImage

#1 Post by Dyuzz » Tue, 2017-08-29, 02:55

hi,
I am extracting the RT_DoseImage from a RT—Dose file.This file have 165 frames and some DVHs,I extract the Image by using the following code.But,the value of all pixel that I extracted is 0.000.I don't know anything I did wrong.

Code: Select all

OFVector<OFVector<Float64>> doseimageTemp;
	if (dose.getDoseImages(doseimageTemp).good())
	{
		for (size_t t = 0; t < doseimageTemp.size(); t++)
		{
			OFVector<double>::iterator it = doseimageTemp.at(t).begin();
			for (int y = 0; y < dose.getDoseImageHeight(); ++y)
			{
				for (int x = 0; x < dose.getDoseImageWidth(); ++x)
				{
					*ptr++ = *it++;
				}
			}
		}
(0020,000e)             SeriesInstanceUID               1.2.246.352.71.2.1926307801.1440522.20160704160423
(0020,0010)             StudyID         10619
(0020,0011)             SeriesNumber            1002
(0020,0013)             InstanceNumber
(0020,0032)             ImagePositionPatient            -221.6872443
(0020,0037)             ImageOrientationPatient         1
(0020,0052)             FrameOfReferenceUID             1.2.840.113619.2.55.3.604699601.668.1466379342.940.17045.1
(0020,1040)             PositionReferenceIndicator              SN
(0028,0002)             SamplesPerPixel         1
(0028,0004)             PhotometricInterpretation               MONOCHROME2
(0028,0008)             NumberOfFrames          167
(0028,0009)             FrameIncrementPointer           (3004,000c)
(0028,0010)             Rows            91
(0028,0011)             Columns         177
(0028,0030)             PixelSpacing            2.5
(0028,0100)             BitsAllocated           32
(0028,0101)             BitsStored              32
(0028,0102)             HighBit         31
(0028,0103)             PixelRepresentation             0
(3004,0002)             DoseUnits               GY
(3004,0004)             DoseType                PHYSICAL
(3004,000a)             DoseSummationType               PLAN
(3004,000c)             GridFrameOffsetVector           0
(3004,000e)             DoseGridScaling         4.5e-5
(3004,0014)             TissueHeterogeneityCorrection           IMAGE
(3004,0050)             DVHSequence
(300c,0002)             ReferencedRTPlanSequence
(300c,0060)             ReferencedStructureSetSequence
(7fe0,0010)             PixelData               0000

Dyuzz
Posts: 3
Joined: Tue, 2017-08-22, 07:59

Re: How can I extract the RT-DoseImage

#2 Post by Dyuzz » Tue, 2017-08-29, 03:00

any help would be very appreciated

Dyuzz
Posts: 3
Joined: Tue, 2017-08-22, 07:59

Re: How can I extract the RT-DoseImage

#3 Post by Dyuzz » Tue, 2017-08-29, 03:53

I have settle the problem,the VR of PixelData is OW ,and i use float64.so the mistake happened

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest