//--------------------------------------------------------------------
// Main function called each time the filter is updated
template<class InputImageType>
//--------------------------------------------------------------------
// Main function called each time the filter is updated
template<class InputImageType>