this->_ConfigureInput< _TImage >( "Input", true, false );
this->_ConfigureOutput< _TImage >( "Output" );
- this->m_Parameters.ConfigureAsReal( "BackgroundValue" );
- this->m_Parameters.ConfigureAsReal( "ForegroundValue" );
- this->m_Parameters.ConfigureAsBool( "FullyConnected" );
-
- this->m_Parameters.SetReal( "BackgroundValue", 0 );
- this->m_Parameters.SetReal( "ForegroundValue", 1 );
- this->m_Parameters.SetBool( "FullyConnected", false );
+ this->m_Parameters.ConfigureAsReal( "BackgroundValue", 0 );
+ this->m_Parameters.ConfigureAsReal( "ForegroundValue", 1 );
+ this->m_Parameters.ConfigureAsBool( "FullyConnected", false );
}
// -------------------------------------------------------------------------
_GenerateData( )
{
auto o = this->GetInputData( "Input" );
- cpPlugins_Demangle_Image_VisualDims( o, _GD0, )
+ cpPlugins_Demangle_Image_VisualDims_1( o, _GD0 )
this->_Error( "Invalid input image dimension." );
}
void cpPluginsImageDistanceMaps::BinaryContourImageFilter::
_GD0( _TImage* image )
{
- cpPlugins_Demangle_Image_ScalarPixels( image, _GD1, _TImage::ImageDimension, )
+ cpPlugins_Demangle_Image_ScalarPixels_1( image, _GD1, _TImage::ImageDimension )
this->_Error( "Invalid input image pixel type." );
}