X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FConvolution.cxx;h=6014ecd5132ebbe84cebba1f8c96dc38a3f5574d;hb=refs%2Fheads%2Fvtk8itk4wx3-mingw64;hp=810ec960280e3bda4c825d5b02821a04edaf70d8;hpb=f8423bfeaa7913646856bc2bfd1a61a91002d50e;p=creaRigidRegistration.git diff --git a/lib/Convolution.cxx b/lib/Convolution.cxx index 810ec96..6014ecd 100644 --- a/lib/Convolution.cxx +++ b/lib/Convolution.cxx @@ -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 }