From 69e0d4a169d9b95536a0f45377bdb208814cf89b Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 13 Jun 2014 13:42:59 +0200 Subject: [PATCH] Small change in error message. --- tools/clitkImageStatisticsGenericFilter.txx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/clitkImageStatisticsGenericFilter.txx b/tools/clitkImageStatisticsGenericFilter.txx index 1995198..fabc429 100644 --- a/tools/clitkImageStatisticsGenericFilter.txx +++ b/tools/clitkImageStatisticsGenericFilter.txx @@ -156,7 +156,7 @@ namespace clitk } else { - std::cerr << "Mask image has a different size/spacing than input. Abort" << std::endl; + std::cerr << "Mask image has a different size/spacing than input. Abort. (Use option to resize)" << std::endl; exit(-1); } } @@ -169,6 +169,7 @@ namespace clitk labelImage->SetRegions(input->GetLargestPossibleRegion()); labelImage->SetOrigin(input->GetOrigin()); labelImage->SetSpacing(input->GetSpacing()); + labelImage->SetDirection(input->GetDirection()); labelImage->Allocate(); labelImage->FillBuffer(m_ArgsInfo.label_arg[0]); } -- 2.47.1