Commit d5121158 authored by Jonathan Guinet's avatar Jonathan Guinet

BUG: first channel of ROIextractor is 1.

parent 6fe65921
......@@ -156,7 +156,7 @@ private:
FloatVectorImageType::Pointer inMask = GetParameterImage("mask");
m_Extract = ExtractImageFilterType::New();
m_Extract->SetInput( inMask );
m_Extract->SetChannel(0);
m_Extract->SetChannel(1);
m_Extract->UpdateOutputInformation();
m_ClassificationFilter->SetInputMask(m_Extract->GetOutput());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment