Skip to content
Snippets Groups Projects
Commit 6490b4d5 authored by Julien Malik's avatar Julien Malik
Browse files

BUG: keep a reference to the internal filter to avoid deletion

parent 443ddd5f
No related branches found
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ private:
typedef itk::CastImageFilter<VectorImageType, VectorImageType> CastImageFilterType;
CastImageFilterType::Pointer caster = CastImageFilterType::New();
m_FilterRef = caster;
std::cout << "CopyInput 2" << std::endl;
caster->SetInPlace(true);
caster->SetInput(inImage);
......
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