]> Creatis software - creaVtk.git/commitdiff
3481 Bug ImageContinuousErode3D return empty object clean
authorEduardo DAVILA <davila@dhcp-7.b401.creatis.insa-lyon.fr>
Fri, 25 Mar 2022 15:06:30 +0000 (16:06 +0100)
committerEduardo DAVILA <davila@dhcp-7.b401.creatis.insa-lyon.fr>
Fri, 25 Mar 2022 15:06:30 +0000 (16:06 +0100)
bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx

index 808f52677d01c75c36ef402ef8aaf8423f79d4e7..9547e4c8dc07bcb085fca6c9b4bfe0dd19680da6 100644 (file)
@@ -42,7 +42,7 @@ vtkImageData* ImageContinuousErode3D::erodeFilterRecursive(vtkImageData* image,
             printf("EED ImageContinuousErode3D::erodeFilterRecursive 4\n");
                        return erodeFilter->GetOutput();
                }else{
-                       erodeFilterRecursive(erodeFilter->GetOutput(), repetitions-1, x, y, z);
+                       return erodeFilterRecursive(erodeFilter->GetOutput(), repetitions-1, x, y, z);
                } // if repetitions
 }