Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// Nothing is written yet to get LUT Data user friendly
// The following is to be moved into a PixelReadConvert method
// Let here, waiting for a clever idea on the way to do it.
// Nothing is written yet to get LUT Data user friendly
// The following is to be moved into a PixelReadConvert method
// Let here, waiting for a clever idea on the way to do it.
std::string strPatientPosition =
f->GetEntryString(0x0018,0x5100);
std::string strPatientPosition =
f->GetEntryString(0x0018,0x5100);
&& strPatientPosition != "" )
std::cout << "PatientPosition (0x0010,0x5100)= ["
<< strPatientPosition << "]" << std::endl;
std::string strViewPosition =
f->GetEntryString(0x0018,0x5101);
&& strPatientPosition != "" )
std::cout << "PatientPosition (0x0010,0x5100)= ["
<< strPatientPosition << "]" << std::endl;
std::string strViewPosition =
f->GetEntryString(0x0018,0x5101);
&& strViewPosition != "" )
std::cout << "View Position (0x0018,0x5101)= ["
<< strViewPosition << "]" << std::endl;
std::string strPatientOrientation =
f->GetEntryString(0x0020,0x0020);
&& strViewPosition != "" )
std::cout << "View Position (0x0018,0x5101)= ["
<< strViewPosition << "]" << std::endl;
std::string strPatientOrientation =
f->GetEntryString(0x0020,0x0020);
&& strPatientOrientation != "")
std::cout << "PatientOrientation (0x0020,0x0020)= ["
<< strPatientOrientation << "]" << std::endl;
std::string strImageOrientationPatient =
f->GetEntryString(0x0020,0x0037);
&& strPatientOrientation != "")
std::cout << "PatientOrientation (0x0020,0x0020)= ["
<< strPatientOrientation << "]" << std::endl;
std::string strImageOrientationPatient =
f->GetEntryString(0x0020,0x0037);
&& strImageOrientationPatient != "" )
std::cout << "ImageOrientationPatient (0x0020,0x0037)= ["
<< strImageOrientationPatient << "]" << std::endl;
std::string strImageOrientationRET =
f->GetEntryString(0x0020,0x0035);
&& strImageOrientationPatient != "" )
std::cout << "ImageOrientationPatient (0x0020,0x0037)= ["
<< strImageOrientationPatient << "]" << std::endl;
std::string strImageOrientationRET =
f->GetEntryString(0x0020,0x0035);
&& strImageOrientationRET != "" )
std::cout << "ImageOrientationRET (0x0020,0x0035)= ["
<< strImageOrientationRET << "]" << std::endl;
std::string strImagePositionPatient =
f->GetEntryString(0x0020,0x0032);
&& strImageOrientationRET != "" )
std::cout << "ImageOrientationRET (0x0020,0x0035)= ["
<< strImageOrientationRET << "]" << std::endl;
std::string strImagePositionPatient =
f->GetEntryString(0x0020,0x0032);
&& strImagePositionPatient != "" )
std::cout << "ImagePositionPatient (0x0020,0x0032)= ["
<< strImagePositionPatient << "]" << std::endl;
std::string strImagePositionPatientRET =
f->GetEntryString(0x0020,0x0030);
&& strImagePositionPatient != "" )
std::cout << "ImagePositionPatient (0x0020,0x0032)= ["
<< strImagePositionPatient << "]" << std::endl;
std::string strImagePositionPatientRET =
f->GetEntryString(0x0020,0x0030);
&& strImagePositionPatientRET != "" )
std::cout << "ImagePositionPatientRET (0x0020,0x0030)= ["
<< strImagePositionPatientRET << "]" << std::endl;
&& strImagePositionPatientRET != "" )
std::cout << "ImagePositionPatientRET (0x0020,0x0030)= ["
<< strImagePositionPatientRET << "]" << std::endl;
// Let's compute 'user friendly' results about 'Orientation'
// ---------------------------------------------------------
// Let's compute 'user friendly' results about 'Orientation'
// ---------------------------------------------------------
- if ( strImageOrientationPatient != gdcm::GDCM_UNFOUND ||
- strImageOrientationRET != gdcm::GDCM_UNFOUND )
+ if ( strImageOrientationPatient != GDCM_NAME_SPACE::GDCM_UNFOUND ||
+ strImageOrientationRET != GDCM_NAME_SPACE::GDCM_UNFOUND )
std::cout << "TypeOrientation = " << orient << " (-> "
<< o->GetOrientationTypeString(orient) << " )" << std::endl;
std::cout << "TypeOrientation = " << orient << " (-> "
<< o->GetOrientationTypeString(orient) << " )" << std::endl;
// Nothing is written yet to get LUT Data user friendly
// The following is to be moved into a PixelRedaConvert method
// Nothing is written yet to get LUT Data user friendly
// The following is to be moved into a PixelRedaConvert method
- gdcm::DirList dirList(dirName,1); // gets recursively the file list
- gdcm::DirListType fileList = dirList.GetFilenames();
- gdcm::File *f;
+ GDCM_NAME_SPACE::DirList dirList(dirName,1); // gets recursively the file list
+ GDCM_NAME_SPACE::DirListType fileList = dirList.GetFilenames();
+ GDCM_NAME_SPACE::File *f;
std::string strPatientPosition =
f->GetEntryString(0x0018,0x5100);
std::string strPatientPosition =
f->GetEntryString(0x0018,0x5100);
&& strPatientPosition != "" )
std::cout << "PatientPosition (0x0010,0x5100)= ["
<< strPatientPosition << "]" << std::endl;
std::string strViewPosition =
f->GetEntryString(0x0018,0x5101);
&& strPatientPosition != "" )
std::cout << "PatientPosition (0x0010,0x5100)= ["
<< strPatientPosition << "]" << std::endl;
std::string strViewPosition =
f->GetEntryString(0x0018,0x5101);
&& strViewPosition != "" )
std::cout << "strViewPosition (0x0010,0x5101)= ["
<< strViewPosition << "]" << std::endl;
std::string strPatientOrientation =
f->GetEntryString(0x0020,0x0020);
&& strViewPosition != "" )
std::cout << "strViewPosition (0x0010,0x5101)= ["
<< strViewPosition << "]" << std::endl;
std::string strPatientOrientation =
f->GetEntryString(0x0020,0x0020);
&& strPatientOrientation != "")
std::cout << "PatientOrientation (0x0020,0x0020)= ["
<< strPatientOrientation << "]" << std::endl;
std::string strImageOrientationPatient =
f->GetEntryString(0x0020,0x0037);
&& strPatientOrientation != "")
std::cout << "PatientOrientation (0x0020,0x0020)= ["
<< strPatientOrientation << "]" << std::endl;
std::string strImageOrientationPatient =
f->GetEntryString(0x0020,0x0037);
&& strImageOrientationPatient != "" )
std::cout << "ImageOrientationPatient (0x0020,0x0037)= ["
<< strImageOrientationPatient << "]" << std::endl;
std::string strImageOrientationRET =
f->GetEntryString(0x0020,0x0035);
&& strImageOrientationPatient != "" )
std::cout << "ImageOrientationPatient (0x0020,0x0037)= ["
<< strImageOrientationPatient << "]" << std::endl;
std::string strImageOrientationRET =
f->GetEntryString(0x0020,0x0035);
&& strImageOrientationRET != "" )
{
std::cout << "ImageOrientationRET (0x0020,0x0035)= ["
&& strImageOrientationRET != "" )
{
std::cout << "ImageOrientationRET (0x0020,0x0035)= ["
// Let's compute 'user friendly' results about 'Orientation'
// ---------------------------------------------------------
// Let's compute 'user friendly' results about 'Orientation'
// ---------------------------------------------------------
- if ( strImageOrientationPatient != gdcm::GDCM_UNFOUND ||
- strImageOrientationRET != gdcm::GDCM_UNFOUND )
+ if ( strImageOrientationPatient != GDCM_NAME_SPACE::GDCM_UNFOUND ||
+ strImageOrientationRET != GDCM_NAME_SPACE::GDCM_UNFOUND )
std::cout << "TypeOrientation = " << orient << " (-> "
<< o->GetOrientationTypeString(orient) << " )" << std::endl;
std::cout << "TypeOrientation = " << orient << " (-> "
<< o->GetOrientationTypeString(orient) << " )" << std::endl;