_GenerateData( )
{
auto o = this->GetInputData( "Input" );
- cpPlugins_Demangle_Image_ProcessDims( o, _GD0, )
+ cpPlugins_Demangle_Image_ScalarPixels_VisualDims_1( o, _GD0 )
this->_Error( "Invalid input image dimension." );
}
template< class _TImage >
void cpPluginsImageDistanceMaps::SignedMaurerDistanceMapImageFilter::
_GD0( _TImage* image )
-{
- cpPlugins_Demangle_Image_ScalarPixels( image, _GD1, _TImage::ImageDimension, )
- this->_Error( "Invalid input image pixel type." );
-}
-
-// -------------------------------------------------------------------------
-template< class _TImage >
-void cpPluginsImageDistanceMaps::SignedMaurerDistanceMapImageFilter::
-_GD1( _TImage* image )
{
std::string out_res =
this->m_Parameters.GetSelectedChoice( "OutputResolution" );
#ifdef cpPlugins_CONFIG_REAL_TYPES_float
- if( out_res == "float" ) this->_GD2< _TImage, float >( image );
+ if( out_res == "float" ) this->_GD1< _TImage, float >( image );
#endif // cpPlugins_CONFIG_REAL_TYPES_float
#ifdef cpPlugins_CONFIG_REAL_TYPES_double
- if( out_res == "double" ) this->_GD2< _TImage, double >( image );
+ if( out_res == "double" ) this->_GD1< _TImage, double >( image );
#endif // cpPlugins_CONFIG_REAL_TYPES_double
}
// -------------------------------------------------------------------------
template< class _TImage, class _TScalar >
void cpPluginsImageDistanceMaps::SignedMaurerDistanceMapImageFilter::
-_GD2( _TImage* image )
+_GD1( _TImage* image )
{
typedef itk::Image< _TScalar, _TImage::ImageDimension > _TDMap;
typedef