this->_ConfigureInput< _TImage >( "Input", true, false );
this->_ConfigureOutput< _TImage >( "Output" );
- this->m_Parameters.ConfigureAsUint( "NumberOfIterations" );
- this->m_Parameters.ConfigureAsBool( "UseImageSpacing" );
- this->m_Parameters.ConfigureAsReal( "ConductanceParameter" );
- this->m_Parameters.ConfigureAsReal( "TimeStep" );
+ this->m_Parameters.ConfigureAsUint( "NumberOfIterations", 5 );
+ this->m_Parameters.ConfigureAsBool( "UseImageSpacing", false );
+ this->m_Parameters.ConfigureAsReal( "ConductanceParameter", 3 );
+ this->m_Parameters.ConfigureAsReal( "TimeStep", 0.0625 );
std::vector< std::string > choices;
#ifdef cpPlugins_CONFIG_REAL_TYPES_float
choices.push_back( "float" );
choices.push_back( "double" );
#endif // cpPlugins_CONFIG_REAL_TYPES_double
this->m_Parameters.ConfigureAsChoices( "OutputResolution", choices );
-
- this->m_Parameters.SetUint( "NumberOfIterations", 5 );
- this->m_Parameters.SetBool( "UseImageSpacing", false );
- this->m_Parameters.SetReal( "ConductanceParameter", 3 );
- this->m_Parameters.SetReal( "TimeStep", 0.0625 );
}
// -------------------------------------------------------------------------