+ std::string strImageOrientationPatient =
+ f->GetEntryValue(0x0020,0x0037);
+ gdcm::Orientation o;
+
+ if ( strImageOrientationPatient != gdcm::GDCM_UNFOUND )
+ {
+ double orient = o.TypeOrientation( f );
+ std::cout << " ---------------------- Type Orientation " << orient
+ << std::endl;
+ }
+
+ std::string ori = o.GetOrientation ( f );
+ if (ori != gdcm::GDCM_UNFOUND )
+ std::cout << "Orientation [" << ori << "]" << std::endl;
+