- << "] PlanarConfiguration= [" << planarConfig
- << "] "<< std::endl
- << " PhotometricInterpretation= ["
- << f->GetEntryString(0x0028,0x0004)
+ << "] ";
+ if (sPP == 3)
+ std::cout << " PlanarConfiguration= [" << planarConfig
+ << "] "<< std::endl;
+
+ std::cout << " PhotometricInterpretation= ["
+ << f->GetEntryString(0x0028,0x0004)