From dd96575fcb3e3af28160766907f68e34dfbf1ba2 Mon Sep 17 00:00:00 2001 From: srit Date: Thu, 17 Mar 2011 14:42:13 +0000 Subject: [PATCH] Romulo: changed rounding of image resampling to floor() because, from a clinical point of view, it seems to be better to miss a slice than to add information that didn't exist in the original image. --- itk/clitkResampleImageWithOptionsFilter.txx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/itk/clitkResampleImageWithOptionsFilter.txx b/itk/clitkResampleImageWithOptionsFilter.txx index df38d0e..1bf5448 100644 --- a/itk/clitkResampleImageWithOptionsFilter.txx +++ b/itk/clitkResampleImageWithOptionsFilter.txx @@ -122,13 +122,16 @@ GenerateOutputInformation() if (m_OutputIsoSpacing != -1) { // apply isoSpacing for(unsigned int i=0; i