From: Leonardo Flórez-Valencia Date: Wed, 18 Oct 2017 18:50:40 +0000 (-0500) Subject: ... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0b2cb624c19096242c48497aa5df907f02724b69;p=FrontAlgorithms.git ... --- diff --git a/appli/CTBronchi/Process.sh b/appli/CTBronchi/Process.sh index d590b3d..bebf539 100755 --- a/appli/CTBronchi/Process.sh +++ b/appli/CTBronchi/Process.sh @@ -110,8 +110,9 @@ labels=$base_name"_labels.mhd" fastrw=$base_name"_fastrw.mhd" slicerw=$base_name"_slicerw.mhd" -(>&2 echo "Processing $input... ") echo "************************************************" +(>&2 echo "Processing $input... ") +echo "Processing $input..." if [ ! -f $vesselness ] || [ -n "$force" ] ; then ./fpa_CTBronchi_Vesselness \ -i $input -o $vesselness \ @@ -162,7 +163,8 @@ if [ ! -f $slicerw ] || [ -n "$force" ] ; then -b $beta \ -e $epsilon fi -echo "************************************************" (>&2 echo "done.") +echo "done." +echo "************************************************" ## eof - $RCSfile$ diff --git a/lib/fpa/Common/SliceBySliceRandomWalker.hxx b/lib/fpa/Common/SliceBySliceRandomWalker.hxx index 3856bca..3b86d02 100644 --- a/lib/fpa/Common/SliceBySliceRandomWalker.hxx +++ b/lib/fpa/Common/SliceBySliceRandomWalker.hxx @@ -107,6 +107,8 @@ GenerateData( ) typename _TJoin::Pointer join = _TJoin::New( ); for( int i = 0; i < numSlices; ++i ) join->SetInput( i, binaryTree[ i ] ); + join->SetOrigin( input->GetOrigin( )[ 2 ] ); + join->SetSpacing( input->GetSpacing( )[ 2 ] ); join->Update( ); this->GetOutput( )->Graft( join->GetOutput( ) ); }