]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/RegionGrow.hxx
...
[FrontAlgorithms.git] / lib / fpa / Image / RegionGrow.hxx
index 9df155ad665425a8aeee482148a962c17965b168..326dc5421ec9f3108f216f762ca1e5080c51cccc 100644 (file)
@@ -23,6 +23,10 @@ _BeforeGenerateData( )
 {
   this->Superclass::_BeforeGenerateData( );
   this->m_InitResult = this->GetOutsideValue( );
+  TGrowFunction* grow =
+    dynamic_cast< TGrowFunction* >( this->GetGrowFunction( ) );
+  if( grow != NULL )
+    grow->SetImage( this->GetInput( ) );
 }
 
 #endif // __fpa__Image__RegionGrow__hxx__