From 0b2cb624c19096242c48497aa5df907f02724b69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leonardo=20Fl=C3=B3rez-Valencia?= Date: Wed, 18 Oct 2017 13:50:40 -0500 Subject: [PATCH] ... --- appli/CTBronchi/Process.sh | 6 ++++-- lib/fpa/Common/SliceBySliceRandomWalker.hxx | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) 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( ) ); } -- 2.47.1