itkSetMacro( UpperThreshold, TPixel );
public:
- virtual bool Evaluate( const TIndex& idx ) const
+ virtual bool Evaluate( const TIndex& idx ) const ITK_OVERRIDE
{
const I* img = this->GetSpace( );
+
if( img != NULL )
{
TPixel v = img->GetPixel( idx );