Commit b08eaf4c authored by Marc Modat's avatar Marc Modat

I forgor to remove some debug printout

parent c82ab95f
......@@ -123,11 +123,6 @@ void reg_intensityRescale_core(nifti_image *image,
break;
}
std::cout << "Slope:" << image->scl_slope << std::endl;
std::cout << "Inter:" << image->scl_inter << std::endl;
std::cout << "Before Min:" << currentMin << std::endl;
std::cout << "Before Max:" << currentMax << std::endl;
// Extract the minimal and maximal values from the current volume
if(image->scl_slope==0) image->scl_slope=1.0f;
for(unsigned int index=0; index<voxelNumber; index++)
......@@ -140,9 +135,6 @@ void reg_intensityRescale_core(nifti_image *image,
}
}
std::cout << "After Min:" << currentMin << std::endl;
std::cout << "After Max:" << currentMax << std::endl;
// Compute constant values to rescale image intensities
double currentDiff = (double)(currentMax-currentMin);
double newDiff = (double)(newMax-newMin);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment