Skip to content
Snippets Groups Projects
Commit 5050cd49 authored by Jordi Inglada's avatar Jordi Inglada
Browse files

BUG: BoxAndWhisker was not stremed

parent fd4a8b4c
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ BoxAndWhiskerImageFilter < TInputImage >
this->GetInput()->GetNumberOfComponentsPerPixel() );
this->GetOutput()->CopyInformation( this->GetInput() );
this->GetOutput()->SetRegions( this->GetInput()->GetLargestPossibleRegion() );
}
template < class TInputImage >
......@@ -158,6 +158,7 @@ BoxAndWhiskerImageFilter < TInputImage >
OutputImageType * output = this->GetOutput();
output->SetNumberOfComponentsPerPixel(
this->GetInput()->GetNumberOfComponentsPerPixel() );
output->SetBufferedRegion(output->GetRequestedRegion());
output->Allocate();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment