]> Creatis software - clitk.git/commitdiff
small cout bug (cast bg to int instead of char)
authorDavid Sarrut <david.sarrut@gmail.com>
Fri, 3 Feb 2012 06:57:12 +0000 (07:57 +0100)
committerDavid Sarrut <david.sarrut@gmail.com>
Mon, 17 Sep 2012 06:23:52 +0000 (08:23 +0200)
itk/clitkSliceBySliceRelativePositionFilter.txx

index db3c677c0e8701c2a424676fcd72117e26576b12..e68514da031c0f6f1a6725a2df78f97d0c189fe7 100644 (file)
@@ -78,7 +78,7 @@ clitk::SliceBySliceRelativePositionFilter<ImageType>::
 PrintOptions(std::ostream & os) 
 {
   os << "Slice direction = " << this->GetDirection() << std::endl
-     << "BG value        = " << this->GetBackgroundValue() << std::endl;
+     << "BG value        = " << (int)this->GetBackgroundValue() << std::endl;
   for(int i=0; i<this->GetNumberOfAngles(); i++) {
     os << "Orientation     = " << this->GetOrientationTypeString()[i] << std::endl;
     os << "Angles     = " << clitk::rad2deg(this->GetAngle1InRad(i))