1 #ifndef __fpa__Image__Functors__SimpleNeighborhood__hxx__
2 #define __fpa__Image__Functors__SimpleNeighborhood__hxx__
4 // -------------------------------------------------------------------------
5 template< class _TImage >
6 typename fpa::Image::Functors::SimpleNeighborhood< _TImage >::
7 TOutput fpa::Image::Functors::SimpleNeighborhood< _TImage >::
8 Evaluate( const TIndex& center ) const
11 typename _TImage::RegionType reg = this->m_Image->GetRequestedRegion( );
12 if( this->m_Order == 1 )
14 for( unsigned int d = 0; d < _TImage::ImageDimension; ++d )
16 for( int o = -1; o <= 1; o += 2 )
20 if( reg.IsInside( idx ) )
35 // -------------------------------------------------------------------------
36 template< class _TImage >
37 fpa::Image::Functors::SimpleNeighborhood< _TImage >::
44 // -------------------------------------------------------------------------
45 template< class _TImage >
46 fpa::Image::Functors::SimpleNeighborhood< _TImage >::
47 ~SimpleNeighborhood( )
51 #endif // __fpa__Image__Functors__SimpleNeighborhood__hxx__