]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/RegionGrow.hxx
...
[FrontAlgorithms.git] / lib / fpa / Image / RegionGrow.hxx
index 5c8b76e01a57852c5ff3ae0afcbbe33eb98b66e2..326dc5421ec9f3108f216f762ca1e5080c51cccc 100644 (file)
@@ -21,8 +21,8 @@ template< class _TInputImage, class _TOutputImage >
 void fpa::Image::RegionGrow< _TInputImage, _TOutputImage >::
 _BeforeGenerateData( )
 {
-  this->m_InitResult = this->m_OutsideValue;
   this->Superclass::_BeforeGenerateData( );
+  this->m_InitResult = this->GetOutsideValue( );
   TGrowFunction* grow =
     dynamic_cast< TGrowFunction* >( this->GetGrowFunction( ) );
   if( grow != NULL )