From 1b63ff4412c307d7344c7bece5421d472a2e9c61 Mon Sep 17 00:00:00 2001 From: Roman Grothausmann Date: Wed, 31 Jan 2018 19:54:18 +0100 Subject: [PATCH] set JoinCF-output as Jdst (filter working now), see comment in example (main): http://itk.org/Wiki/ITK/Examples/Developer/InplaceImageFilter --- Logic/Framework/IRISApplication.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Logic/Framework/IRISApplication.cxx b/Logic/Framework/IRISApplication.cxx index ce8f2ce4..cc66f07e 100644 --- a/Logic/Framework/IRISApplication.cxx +++ b/Logic/Framework/IRISApplication.cxx @@ -312,6 +312,7 @@ ::ExecuteCnJCopy(JsrcImageWrapper::ImageType::IndexType SeedIndex) m_JOINImageData->GetJoinCF()->SetDrawingColor(drawing_color); m_JOINImageData->GetJoinCF()->SetSeedActive(true); m_JOINImageData->GetJoinCF()->Update(); + m_JOINImageData->GetJdst()->SetImage(m_JOINImageData->GetJoinCF()->GetOutput()); //needed because output has stolen the input's buffer and the input has no image buffer. InvokeEvent(LayerChangeEvent()); return m_JOINImageData->GetJoinCF()->GetUpdateFlag();