]> Creatis software - FrontAlgorithms.git/commitdiff
...
authorLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Wed, 22 Nov 2017 14:18:28 +0000 (09:18 -0500)
committerLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Wed, 22 Nov 2017 14:18:28 +0000 (09:18 -0500)
appli/CTBronchi/Functions.h
appli/CTBronchi/Process.sh

index 2e9732ce326106ba55b4c15ca1a9bb8807e5ebbf..b48162e7212f90f5cf8bda2071027c1ee961940b 100644 (file)
@@ -44,6 +44,7 @@ namespace CTBronchi
     typedef itk::ImageFileWriter< _TImage > _TWriter;
     typename _TWriter::Pointer writer = _TWriter::New( );
     writer->SetFileName( fname );
+    writer->UseCompressionOn( );
     writer->SetInput( image );
     double t = MeasureTime( writer );
     std::cout << "Wrote \"" << fname << "\" in " << t << " s" << std::endl;
index 009829ff50919388a015dd030f4b4c9bc8f09e7e..10df8d58350e17e30557c2462aac3d94279c59bf 100755 (executable)
@@ -107,14 +107,14 @@ if [ -z "$input" ] || [ -z "$seed" ] ; then
 fi
 
 base_dir=`dirname $input | xargs realpath`
-base_name=$base_dir/`basename $input .mhd`
+base_name=$base_dir/`basename $input .mha`
 
-vesselness=$base_name"_vesselness.mhd"
-mori=$base_name"_mori.mhd"
+vesselness=$base_name"_vesselness.mha"
+mori=$base_name"_mori.mha"
 mori_signal=$base_name"_mori_signal.txt"
-labels=$base_name"_labels.mhd"
-fastrw=$base_name"_fastrw.mhd"
-slicerw=$base_name"_slicerw.mhd"
+labels=$base_name"_labels.mha"
+fastrw=$base_name"_fastrw.mha"
+slicerw=$base_name"_slicerw.mha"
 
 echo "************************************************"
 (>&2 echo "Processing $input... ")