_GenerateData( )
{
auto input =
- this->GetInputData< cpPlugins::Interface::Image >( "Input" );
+ this->GetInputData< cpPlugins::Interface::DataObject >( "Input" );
itk::DataObject* image = NULL;
std::string r = "";
cpPlugins_Image_Demangle_AllScalarTypes( 2, input, image, r, _GD0 );
this->m_Parameters->ConfigureAsReal( "UpperThreshold" );
this->m_Parameters->SetReal( "LowerThreshold", 0 );
- this->m_Parameters->SetReal( "UpperThreshold", 0 );
+ this->m_Parameters->SetReal( "UpperThreshold", 1 );
}
// -------------------------------------------------------------------------
_GenerateData( )
{
auto image =
- this->GetInputData< cpPlugins::Interface::Image >( "ReferenceImage" );
+ this->GetInputData< cpPlugins::Interface::DataObject >( "ReferenceImage" );
itk::DataObject* itk_image = NULL;
std::string r = "";
cpPlugins_Image_Demangle_AllScalarTypes( 2, image, itk_image, r, _GD0 );
else cpPlugins_Image_Demangle_AllScalarTypes( 3, image, itk_image, r, _GD0 );
else r = "fpaPlugins::ThresholdImageGrowFunctionSource: no valid reference image.";
-
return( r );
}