Logo Search packages:      
Sourcecode: gdcm version File versions  Download package

void gdcm::Rescaler::SetTargetPixelType ( PixelFormat const &  targetst  ) 

By default (when UseTargetPixelType is false), a best matching Target Pixel Type is computed. However user can override this auto selection by switching UseTargetPixelType:true and also specifying the specifix Target Pixel Type

Definition at line 498 of file gdcmRescaler.cxx.

References gdcm::PixelFormat::GetScalarType().

{
  TargetScalarType = targetpf.GetScalarType();
}


Generated by  Doxygen 1.6.0   Back to index