// Configure filter
_TFilter* filter = this->_CreateITK< _TFilter >( );
+ filter->SetInput( image );
/*
- filter->SetInput( image );
filter->SetLowerThreshold( lower_val );
filter->SetUpperThreshold( upper_val );
filter->SetInsideValue( in_val );
filter->SetOutsideValue( out_val );
filter->Update( );
-
- // Connect output
- this->GetOutputData( "Output" )->SetITK( filter->GetOutput( ) );
*/
+
+ // Connect output
+ this->GetOutputData( "Output" )->SetITK( filter->GetOutput( ) );
return( "ImageToHistogramFilter: not ready yet." );
}