// remove data than to add data that privously didn't exist.
if(inputSpacing[i]*m_OutputSpacing[i]<0)
itkExceptionMacro( << "Input and output spacings don't have the same signs, can't cope with that" );
m_OutputSize[i] = (int)floor(inputSize[i]*inputSpacing[i]/m_OutputSpacing[i]);
}
// remove data than to add data that privously didn't exist.
if(inputSpacing[i]*m_OutputSpacing[i]<0)
itkExceptionMacro( << "Input and output spacings don't have the same signs, can't cope with that" );
m_OutputSize[i] = (int)floor(inputSize[i]*inputSpacing[i]/m_OutputSpacing[i]);
}