]> Creatis software - creaRigidRegistration.git/blobdiff - lib/Convolution.cxx
#3221 creaRigidRegistration Feature New Normal - vtk8itk4wx3-mingw64
[creaRigidRegistration.git] / lib / Convolution.cxx
index 810ec960280e3bda4c825d5b02821a04edaf70d8..6014ecd5132ebbe84cebba1f8c96dc38a3f5574d 100644 (file)
@@ -32,9 +32,9 @@
 //------------------------------------------------------------
 Convolution::Convolution()
 {
-       _image=NULL;
-       _convolve = vtkImageConvolve::New();
-       _cast = vtkImageCast::New();
+       _image          = NULL;
+       _convolve       = vtkImageConvolve::New();
+       _cast           = vtkImageCast::New();
 }
 
 /*
@@ -65,7 +65,6 @@ void Convolution::setImage(vtkImageData *image)
 
 void Convolution::setFactor(double factor)
 {
-
 //     _factor = (factor/100.0)*5.0;   
        _factor = factor;       
 }
@@ -99,5 +98,5 @@ void Convolution::Run()
 #endif
                _cast->SetOutputScalarType(_image->GetScalarType());
                _cast->Update();
-       }       
+       } // if _on
 }