comparison Core/DicomFormat/DicomIntegerPixelAccessor.cpp @ 80:6212bf978584

status of series
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Sep 2012 15:18:12 +0200
parents 297bad4e1019
children 3b45473c0a73
comparison
equal deleted inserted replaced
79:297bad4e1019 80:6212bf978584
65 } 65 }
66 66
67 frame_ = 0; 67 frame_ = 0;
68 try 68 try
69 { 69 {
70 numberOfFrames_ = boost::lexical_cast<unsigned int>(values.GetValue(DicomTag::NUMBER_OF_FRAMES).AsString()); 70 numberOfFrames_ = boost::lexical_cast<unsigned int>(values.GetValue(DICOM_TAG_NUMBER_OF_FRAMES).AsString());
71 } 71 }
72 catch (OrthancException) 72 catch (OrthancException)
73 { 73 {
74 // If the tag "NumberOfFrames" is absent, assume there is a single frame 74 // If the tag "NumberOfFrames" is absent, assume there is a single frame
75 numberOfFrames_ = 1; 75 numberOfFrames_ = 1;