X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkImageContinuousErode3D.cxx;h=4784991cf9ed9f611ffcd211d7289875e704b66f;hb=d1ff777024c5613e1c10ed20c784bb323c8407a1;hp=ac412460724c5299e3f732806e89afe7342f03d8;hpb=ef9f90810fcc3800acac54a104f14ff505135fd3;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx index ac41246..4784991 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx @@ -30,10 +30,9 @@ vtkImageData* ImageContinuousErode3D::erodeFilterRecursive(vtkImageData* image, { resultRec = erodeFilter->GetOutput(); return resultRec; - } - else { - vtkImageData* resultRec = erodeFilterRecursive(erodeFilter->GetOutput(), (repetitions-1), x, y, z); - } + }else{ + erodeFilterRecursive(erodeFilter->GetOutput(), (repetitions-1), x, y, z); + } // if repetitions } void ImageContinuousErode3D::bbUserSetDefaultValues() @@ -45,7 +44,10 @@ void ImageContinuousErode3D::bbUserSetDefaultValues() //===== void ImageContinuousErode3D::bbUserInitializeProcessing() { - + bbSetInputX(3); + bbSetInputY(3); + bbSetInputY(3); + bbSetInputRepetitions(0); } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)