- auto m = this->GetInput( "Mask" );
- auto ci = m->GetITK< _TChar >( );
- auto si = m->GetITK< _TShort >( );
- auto ii = m->GetITK< _TInt >( );
- auto li = m->GetITK< _TLong >( );
- auto fi = m->GetITK< _TFloat >( );
- auto di = m->GetITK< _TDouble >( );
- auto uci = m->GetITK< _TUChar >( );
- auto usi = m->GetITK< _TUShort >( );
- auto uii = m->GetITK< _TUInt >( );
- auto uli = m->GetITK< _TULong >( );
- if ( ci != NULL ) this->_GD1( image, ci );
- else if( si != NULL ) this->_GD1( image, si );
- else if( ii != NULL ) this->_GD1( image, ii );
- else if( li != NULL ) this->_GD1( image, li );
- else if( fi != NULL ) this->_GD1( image, fi );
- else if( di != NULL ) this->_GD1( image, di );
- else if( uci != NULL ) this->_GD1( image, uci );
- else if( usi != NULL ) this->_GD1( image, usi );
- else if( uii != NULL ) this->_GD1( image, uii );
- else if( uli != NULL ) this->_GD1( image, uli );
- else this->_GD1( image, ci );
- */
+ auto o = this->GetInputData( "Mask" );
+ cpPlugins_Demangle_Image_ScalarPixels_2( o, _GD1, _TImage::ImageDimension, image )
+ this->_GD1< _TDummy, _TImage >( NULL, image );