clitk::ReadImageDimensionAndPixelType(m_InputNames[0], Dimension, PixelType, Components);
if(Dimension==2) UpdateWithDim<2>(PixelType, Components);
else if(Dimension==3) UpdateWithDim<3>(PixelType, Components);
clitk::ReadImageDimensionAndPixelType(m_InputNames[0], Dimension, PixelType, Components);
if(Dimension==2) UpdateWithDim<2>(PixelType, Components);
else if(Dimension==3) UpdateWithDim<3>(PixelType, Components);