DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Tue, 2017-11-21, 00:16

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue, 2017-08-29, 02:55 
Offline

Joined: Tue, 2017-08-22, 07:59
Posts: 3
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:
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


Top
 Profile  
 
PostPosted: Tue, 2017-08-29, 03:00 
Offline

Joined: Tue, 2017-08-22, 07:59
Posts: 3
any help would be very appreciated


Top
 Profile  
 
PostPosted: Tue, 2017-08-29, 03:53 
Offline

Joined: Tue, 2017-08-22, 07:59
Posts: 3
I have settle the problem,the VR of PixelData is OW ,and i use float64.so the mistake happened


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group