this->_ConfigureInput< _TData >( "GrowFunction", true, false );
this->m_Parameters.ConfigureAsInt( "InsideValue", 1 );
this->m_Parameters.ConfigureAsInt( "OutsideValue", 0 );
- this->m_Parameters.ConfigureAsInt( "Step", 1 );
- this->m_Parameters.ConfigureAsReal( "LowerThreshold", 1 );
- this->m_Parameters.ConfigureAsReal( "UpperThreshold", 1 );
+ this->m_Parameters.ConfigureAsReal( "Step", 1 );
+ this->m_Parameters.ConfigureAsReal( "Lower", 0 );
+ this->m_Parameters.ConfigureAsReal( "Upper", 1 );
+ this->m_Parameters.ConfigureAsReal( "Sensitivity", 1 );
this->m_Parameters.ConfigureAsIntTypesChoices( "ResultType" );
}
itk::Image< _TOutputPixel, _TInputImage::ImageDimension >
_TOutputImage;
typedef fpa::Image::MoriRegionGrow< _TInputImage, _TOutputImage > _TFilter;
- typedef typename _TFilter::TGrowFunction _TGrow;
auto filter = this->_CreateITK< _TFilter >( );
this->_ConfigureFilter( filter, image );
- filter->SetGrowFunction( this->GetInputData< _TGrow >( "GrowFunction" ) );
filter->SetInsideValue( this->m_Parameters.GetInt( "InsideValue" ) );
filter->SetOutsideValue( this->m_Parameters.GetInt( "OutsideValue" ) );
+ filter->SetStep( this->m_Parameters.GetReal( "Step" ) );
+ filter->SetLower( this->m_Parameters.GetReal( "Lower" ) );
+ filter->SetUpper( this->m_Parameters.GetReal( "Upper" ) );
+ filter->SetSensitivity( this->m_Parameters.GetReal( "Sensitivity" ) );
filter->Update( );
this->GetOutput( "Output" )->SetITK( filter->GetOutput( ) );
}