Index: InhomogeneityCorrectionFilter.cc =================================================================== --- InhomogeneityCorrectionFilter.cc (revision 44233) +++ InhomogeneityCorrectionFilter.cc (working copy) @@ -372,6 +372,7 @@ dgfilter->SetInput(itkdgimg); dgfilter->SetVariance(1.0); dgfilter->SetMaximumKernelWidth(8); + dgfilter->SetUseImageSpacingOff(); dgfilter->Update(); SCIRun::ITKDatatypeHandle output1_img = new SCIRun::ITKDatatype(); output1_img->data_ = dgfilter->GetOutput(); Index: ITKDiscreteGaussianImageFilterTool.cc =================================================================== --- ITKDiscreteGaussianImageFilterTool.cc (revision 44233) +++ ITKDiscreteGaussianImageFilterTool.cc (working copy) @@ -82,6 +82,7 @@ const int max_kernel_width = Max_Error_; filter_->SetVariance(variance); + filter_->SetUseImageSpacingOff(); if (max_kernel_width > 0) { filter_->SetMaximumKernelWidth(max_kernel_width); Index: SpeedToPathTool.cc =================================================================== --- SpeedToPathTool.cc (revision 44233) +++ SpeedToPathTool.cc (working copy) @@ -377,6 +377,7 @@ const int max_kernel_width = 40; blur_filter->SetVariance(variance); + blur_filter->SetUseImageSpacingOff(); if (max_kernel_width > 0) { blur_filter->SetMaximumKernelWidth(max_kernel_width);
Archive powered by MHonArc 2.6.16.