X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FAlgorithm.hxx;h=ba3497f738629f57f09e381616353650b44eb9ac;hb=89393f2267e42e921571c0184320d6c6382f34ab;hp=a94f13130a128e20cc7619aede6c215c88af6f64;hpb=721b19efb3da24f38076b689517b6ed1ddbd03d2;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/Algorithm.hxx b/lib/fpa/Image/Algorithm.hxx index a94f131..ba3497f 100644 --- a/lib/fpa/Image/Algorithm.hxx +++ b/lib/fpa/Image/Algorithm.hxx @@ -181,7 +181,7 @@ _GetOutputValue( const TVertex& v ) const template< class _TInputImage, class _TOutputImage, class _TMarksInterface, class _TSeedsInterface > void fpa::Image::Algorithm< _TInputImage, _TOutputImage, _TMarksInterface, _TSeedsInterface >:: -_UpdateOutputValue( const TNode& n ) +_UpdateOutputValue( TNode& n ) { this->GetOutput( )->SetPixel( n.Vertex, n.Value ); } @@ -206,12 +206,11 @@ _GetMark( const TVertex& v ) const // ------------------------------------------------------------------------- template< class _TInputImage, class _TOutputImage, class _TMarksInterface, class _TSeedsInterface > -bool +void fpa::Image::Algorithm< _TInputImage, _TOutputImage, _TMarksInterface, _TSeedsInterface >:: _Mark( const TVertex& v, unsigned long frontId ) { this->GetMarks( )->SetPixel( v, TFrontId( frontId ) ); - return( true ); } #endif // __fpa__Image__Algorithm__hxx__