24 this->SetNumberOfRequiredInputs( 1 );
25 this->SetNumberOfRequiredOutputs( 4 );
39 this->SetNthOutput(0, input);
45 bool foundDWI =
false;
48 unsigned int size = input.size();
51 for (
unsigned int i = 0 ; i < size ; ++i )
56 if( header->bValue > 0)
71 for (
unsigned int i = 0 ; i < size ; ++i )
76 if( !header->isIdentical(dwiHeader))
84 for (
unsigned int i = 0 ; i < size ; ++i )
91 for (
unsigned int i = 0 ; i < size ; ++i )
95 switch (header->headerGroup)
98 other.push_back(header);
101 zerodwi.push_back(header);
104 dwi.push_back(header);
111 this->SetNthOutput(1, dwi);
112 this->SetNthOutput(2, zerodwi);
113 this->SetNthOutput(3, other);
126 this->SetInput( input );
138 return this->GetInput();
149 if(idx >= m_Output.size())
150 m_Output.resize(idx+1);
151 m_Output[idx] = output;
Superclass of all classes generating some kind of mitk::BaseData.