X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FImageDistanceMaps%2FBinaryContourImageFilter.cxx;h=e9b9c0a509893523d275e014f6ccfac1eb640863;hb=9b11582dc5062474361432e46838c4e790c21f10;hp=ade258036a556c3fe4dcf07f7cf0a9e3aed80a3d;hpb=9d315ac836e5fe246a8c987681085ee19898affc;p=cpPlugins.git diff --git a/plugins/ImageDistanceMaps/BinaryContourImageFilter.cxx b/plugins/ImageDistanceMaps/BinaryContourImageFilter.cxx index ade2580..e9b9c0a 100644 --- a/plugins/ImageDistanceMaps/BinaryContourImageFilter.cxx +++ b/plugins/ImageDistanceMaps/BinaryContourImageFilter.cxx @@ -14,13 +14,9 @@ BinaryContourImageFilter( ) 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 ); } // -------------------------------------------------------------------------