X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkImageGaussianSmooth.xml;h=780c20ad01ecdd77079f1700f2b3897e71baad14;hb=edb8e9b8948e7216e06b3ef5228b16f18417ca52;hp=95e73cc12a4521c26c5cfda34b0f6fdf47c22962;hpb=f303df63e2a2e33d698c974858f288058d980ae4;p=bbtk.git diff --git a/packages/vtk/src/bbvtkImageGaussianSmooth.xml b/packages/vtk/src/bbvtkImageGaussianSmooth.xml index 95e73cc..780c20a 100644 --- a/packages/vtk/src/bbvtkImageGaussianSmooth.xml +++ b/packages/vtk/src/bbvtkImageGaussianSmooth.xml @@ -1,55 +1,39 @@ - + laurent.guigues at creatis.insa-lyon.fr
Performs a gaussian convolution of the input image (bbfication of vtkImageGaussianSmooth)
image;filter vtkImageGaussianSmooth.h +vtkVersion.h vtkImageData.h -vtkImageGaussianSmooth - - -Input image - - - -Output image - - - -Standard deviation in direction X - - - -Standard deviation in direction Y - - - -Standard deviation in direction Z - +vtkImageGaussianSmooth + + + + + +
-SetStandardDeviation(bbGetInputStdDevX(), 
-                     bbGetInputStdDevY(), 
-                     bbGetInputStdDevZ());
-Update();
+    bbGetVtkObject()->SetStandardDeviation(bbGetInputStdDevX(),
+                     			bbGetInputStdDevY(), 
+                     			bbGetInputStdDevZ());
+    bbGetVtkObject()->Modified();
+    bbGetVtkObject()->Update();
+    if (bbGetInputIn()==NULL)
+    {
+        printf("EED ImageGaussianSmooth  This mechanism is not working, try to use box ImageGaussianSmooth2.\n");
+        bbSetOutputOut(NULL);
+    } else {
+        bbSetOutputOut( bbGetVtkObject()->GetOutput() );
+    }
 
+